Massimiliano Torromeo pushed to branch main at Arch Linux / Packaging / Packages / rmlint
Commits: 23e8a2ef by Massimiliano Torromeo at 2024-04-09T21:29:22+02:00 upgpkg: 2.10.2-2: python 3.12 rebuild - - - - - 3 changed files: - + .SRCINFO - PKGBUILD - + setuptools.patch Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,44 @@ +pkgbase = rmlint + pkgver = 2.10.2 + pkgrel = 2 + url = https://github.com/sahib/rmlint + arch = x86_64 + license = GPL3 + makedepends = scons + makedepends = python-sphinx + makedepends = gettext + makedepends = sqlite + makedepends = util-linux-libs + makedepends = binutils + makedepends = json-glib + makedepends = libelf + makedepends = python-gobject + makedepends = python-cairo + makedepends = dconf + makedepends = gtksourceview3 + makedepends = librsvg + makedepends = desktop-file-utils + makedepends = python-requests + makedepends = python-setuptools + source = https://github.com/sahib/rmlint/archive/v2.10.2/rmlint-2.10.2.tar.gz + source = setuptools.patch + sha256sums = 0a0233ad517e0fb721f21e188a57cdee5279dd5329b38acb56d5d5312ce46388 + sha256sums = a9056ff1ae15272ad43af13a030d38be658c860026e8f5774f9e5481e880c902 + +pkgname = rmlint + pkgdesc = Tool to remove duplicates and other lint, being much faster than fdupes + depends = sqlite + depends = util-linux-libs + depends = binutils + depends = json-glib + depends = libelf + +pkgname = rmlint-shredder + pkgdesc = Graphical user interface for rmlint + depends = rmlint + depends = python-gobject + depends = python-cairo + depends = dconf + depends = librsvg + depends = gtksourceview3 + depends = xdg-utils ===================================== PKGBUILD ===================================== @@ -5,15 +5,23 @@ pkgbase=rmlint pkgname=(rmlint rmlint-shredder) pkgver=2.10.2 -pkgrel=1 +pkgrel=2 url="https://github.com/sahib/rmlint" license=('GPL3') arch=('x86_64') makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'util-linux-libs' 'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo' - 'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests') -source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz") -sha256sums=('0a0233ad517e0fb721f21e188a57cdee5279dd5329b38acb56d5d5312ce46388') + 'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests' + 'python-setuptools') +source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz" + "setuptools.patch") +sha256sums=('0a0233ad517e0fb721f21e188a57cdee5279dd5329b38acb56d5d5312ce46388' + 'a9056ff1ae15272ad43af13a030d38be658c860026e8f5774f9e5481e880c902') + +prepare() { + cd "$srcdir"/$pkgbase-$pkgver + patch -p1 -i ../setuptools.patch +} build() { cd "$srcdir"/$pkgbase-$pkgver ===================================== setuptools.patch ===================================== @@ -0,0 +1,15 @@ +diff --git a/gui/setup.py b/gui/setup.py +index 4c078be2..821f1f85 100644 +--- a/gui/setup.py ++++ b/gui/setup.py +@@ -2,8 +2,8 @@ + # encoding: utf-8 + #!/usr/bin/env python + +-from distutils.core import setup +-from distutils.command.install import install ++from setuptools import setup ++from setuptools.command.install import install + + import os + import sys View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/rmlint/-/commit/23e8a2ef1010006259598b513633d01b2c3ca5c4 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/rmlint/-/commit/23e8a2ef1010006259598b513633d01b2c3ca5c4 You're receiving this email because of your account on gitlab.archlinux.org.