Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-pypubsub


Commits:
37f30479 by loqs at 2024-04-09T13:47:47+01:00
Change to a PEP 517 based workflow

- - - - -
25eb9ed4 by loqs at 2024-04-09T13:47:49+01:00
Replace python-pytest-runner with python-pytest

- - - - -
6e6dd6b6 by loqs at 2024-04-09T13:47:50+01:00
Change to SPDX license identifier

https://github.com/schollii/pypubsub/blob/v4.0.3/src/pubsub/LICENSE_BSD_Simple.txt

- - - - -
22856ca2 by Jelle van der Waa at 2024-04-22T11:56:07+02:00
PEP 517 workflow, Replace python-pytest-runner, SPDX license

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,16 @@
 pkgbase = python-pypubsub
        pkgdesc = Python publish-subcribe library
        pkgver = 4.0.3
-       pkgrel = 6
+       pkgrel = 7
        url = https://github.com/schollii/pypubsub
        arch = any
-       license = BSD
-       checkdepends = python-pytest-runner
+       license = BSD-2-Clause
+       checkdepends = python-pytest
        checkdepends = python-pytest-asyncio
        makedepends = python-setuptools
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
        depends = python
        source = 
python-pypubsub-4.0.3.tar.gz::https://github.com/schollii/pypubsub/archive/v4.0.3.tar.gz
        sha512sums = 
cf9aca44e91a5d0e5ecf6739deabf2980f9464395c89e3c5335c5248e47c570701e0534bb660c5005325a994d9f8e7f261f36bc8bea74cfc7eb760b73c572652


=====================================
PKGBUILD
=====================================
@@ -4,21 +4,21 @@
 pkgname=python-pypubsub
 _pkgname=${pkgname#python-}
 pkgver=4.0.3
-pkgrel=6
+pkgrel=7
 pkgdesc="Python publish-subcribe library"
 arch=('any')
 url="https://github.com/schollii/pypubsub";
-license=('BSD')
+license=('BSD-2-Clause')
 depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-asyncio')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
+checkdepends=('python-pytest' 'python-pytest-asyncio')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
 
sha512sums=('cf9aca44e91a5d0e5ecf6739deabf2980f9464395c89e3c5335c5248e47c570701e0534bb660c5005325a994d9f8e7f261f36bc8bea74cfc7eb760b73c572652')
 
 build() {
   cd $_pkgname-$pkgver
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -30,7 +30,7 @@ check() {
 package() {
   cd $_pkgname-$pkgver
 
-  python setup.py install --root="$pkgdir"  --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm 644 src/pubsub/LICENSE_BSD_Simple.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pypubsub/-/compare/e5b93572a664ac271287e320c39a052f41016be2...22856ca28f1f0ab80c7c3912856adee553b3d75d

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pypubsub/-/compare/e5b93572a664ac271287e320c39a052f41016be2...22856ca28f1f0ab80c7c3912856adee553b3d75d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to