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


Commits:
012545da by Jelle van der Waa at 2024-10-13T13:54:09+02:00
Build with PEP517

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -13,6 +13,9 @@ pkgbase = python-dogpile.cache
        checkdepends = python-pytest
        checkdepends = python-pylibmc
        makedepends = python-setuptools
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
        depends = python-decorator
        depends = python-stevedore
        source = 
https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-1.3.3.tar.gz


=====================================
PKGBUILD
=====================================
@@ -8,7 +8,7 @@ arch=('any')
 url="https://pypi.python.org/pypi/dogpile.cache";
 license=('BSD')
 depends=('python-decorator' 'python-stevedore')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('memcached' 'pifpaf' 'redis' 'python-mako' 'python-redis' 
'python-pytest'
               'python-pylibmc')
 
source=("https://pypi.io/packages/source/d/dogpile.cache/dogpile.cache-$pkgver.tar.gz";)
@@ -16,7 +16,7 @@ 
sha512sums=('80809d072167c62dcc731ab5b265c54bcc6f6a1dc09e3ea88959a34823dc0bb776b
 
 build() {
   cd dogpile.cache-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -28,7 +28,7 @@ check() {
 
 package() {
   cd dogpile.cache-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-dogpile.cache/-/commit/012545da6a35bb5b380621ead2958606babd22bf

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-dogpile.cache/-/commit/012545da6a35bb5b380621ead2958606babd22bf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to