Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / sopel
Commits: e148a378 by loqs at 2024-03-05T06:05:55+00:00 Change to a PEP 517 based workflow - - - - - ac2b0a13 by loqs at 2024-03-05T06:06:00+00:00 Change to SPDX license identifier https://github.com/sopel-irc/sopel/blob/v7.1.9/COPYING - - - - - 156d6339 by loqs at 2024-03-05T08:56:29+00:00 Depend on python-sqlalchemy - - - - - d13e77f1 by Jelle van der Waa at 2024-03-08T17:08:56+01:00 upgpkg: 7.1.9-3 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,31 @@ +pkgbase = sopel + pkgdesc = An easy-to-use and highly extensible IRC Bot framework (Formerly Willie) + pkgver = 7.1.9 + pkgrel = 3 + url = https://sopel.chat + arch = any + license = EFL-2.0 + checkdepends = python-pytest + checkdepends = python-pytest-vcr + checkdepends = python-requests-mock + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + makedepends = python-sphinx + makedepends = python-sphinxcontrib-autoprogram + depends = python-setuptools + depends = sqlite + depends = python-xmltodict + depends = python-pytz + depends = python-praw + depends = python-geoip2 + depends = python-requests + depends = python-dnspython + depends = python-sqlalchemy + backup = etc/sopel.cfg + source = https://github.com/sopel-irc/sopel/archive/v7.1.9/sopel-7.1.9.tar.gz + source = open-U-deprecated.patch + sha512sums = 55fd81f7d16bf3a46c216a0ae68b72df3cc2f4d1d282786f87eadadf51d19838f92d2e29a6a424905099dbf9e27ea495f6d54e676947dcd5c3edcff1d7b5aea3 + sha512sums = aa3d13fad475bc5004545303694c3ce7eb7de9f780e266858aa70a47ca098b851395754962604210e3fb839af8e86ee237e36e2d15d3fe9dba5390f65e9a8db3 + +pkgname = sopel ===================================== PKGBUILD ===================================== @@ -2,14 +2,15 @@ pkgname=sopel pkgver=7.1.9 -pkgrel=2 +pkgrel=3 pkgdesc="An easy-to-use and highly extensible IRC Bot framework (Formerly Willie)" arch=('any') -license=('custom:EFL') +license=('EFL-2.0') url='https://sopel.chat' depends=('python-setuptools' 'sqlite' 'python-xmltodict' 'python-pytz' 'python-praw' - 'python-geoip2' 'python-requests' 'python-dnspython' 'python-sqlalchemy1.3') -makedepends=('python-sphinx' 'python-sphinxcontrib-autoprogram') + 'python-geoip2' 'python-requests' 'python-dnspython' 'python-sqlalchemy') +makedepends=('python-build' 'python-installer' 'python-wheel' + 'python-sphinx' 'python-sphinxcontrib-autoprogram') checkdepends=('python-pytest' 'python-pytest-vcr' 'python-requests-mock') backup=('etc/sopel.cfg') source=("https://github.com/sopel-irc/sopel/archive/v$pkgver/$pkgname-$pkgver.tar.gz" @@ -19,13 +20,13 @@ sha512sums=('55fd81f7d16bf3a46c216a0ae68b72df3cc2f4d1d282786f87eadadf51d19838f92 prepare() { cd sopel-$pkgver - sed -i 's/<6/<8/;s/==0.12/>=0.12/' {dev-,}requirements.txt + sed -i 's/<6/<8/;s/==0.12/>=0.12/;s/<1.4/<2.0/' {dev-,}requirements.txt patch -Np1 -i ${srcdir}/open-U-deprecated.patch } build() { cd sopel-$pkgver - python setup.py build egg_info + python -m build --wheel --no-isolation PYTHONPATH="$PWD" make -C docs man } @@ -36,7 +37,7 @@ check() { package() { cd sopel-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 contrib/sopel.cfg "$pkgdir/etc/sopel.cfg" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/sopel/-/compare/104ed5debf86b04736ff8aac08e1dcaed3f626d4...d13e77f1199e9e0426397357030817264d91d654 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/sopel/-/compare/104ed5debf86b04736ff8aac08e1dcaed3f626d4...d13e77f1199e9e0426397357030817264d91d654 You're receiving this email because of your account on gitlab.archlinux.org.