Bert Peters pushed to branch main at Arch Linux / Packaging / Packages / 
python-virtualenv-clone


Commits:
d28d46a7 by Bert Peters at 2026-07-19T00:34:39+02:00
upgpkg: 0.5.7-8: Use PEP 517 for building

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
 pkgbase = python-virtualenv-clone
        pkgdesc = A script for cloning a non-relocatable virtualenv.
        pkgver = 0.5.7
-       pkgrel = 7
+       pkgrel = 8
        url = https://github.com/edwardgeorge/virtualenv-clone
        arch = any
-       license = GPL
+       license = MIT
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
        depends = python
-       options = !emptydirs
        source = 
https://files.pythonhosted.org/packages/source/v/virtualenv-clone/virtualenv-clone-0.5.7.tar.gz
        sha256sums = 
418ee935c36152f8f153c79824bb93eaf6f0f7984bae31d3f48f350b9183501a
 


=====================================
PKGBUILD
=====================================
@@ -1,21 +1,28 @@
-# Maintainer: Evangelos Foutras <[email protected]
+# Maintainer: Bert Peters <[email protected]>
+# Contributor: Evangelos Foutras <[email protected]>
 
 pkgname='python-virtualenv-clone'
 pkgver=0.5.7
-pkgrel=7
+pkgrel=8
 pkgdesc="A script for cloning a non-relocatable virtualenv."
 arch=('any')
 url="https://github.com/edwardgeorge/virtualenv-clone";
-license=('GPL')
+license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
-options=('!emptydirs')
+makedepends=('python-build' 'python-installer' 'python-setuptools')
 
source=(https://files.pythonhosted.org/packages/source/v/virtualenv-clone/virtualenv-clone-$pkgver.tar.gz)
 sha256sums=('418ee935c36152f8f153c79824bb93eaf6f0f7984bae31d3f48f350b9183501a')
 
+build() {
+  cd "$srcdir/virtualenv-clone-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
 package() {
   cd "$srcdir/virtualenv-clone-$pkgver"
-  python3 setup.py install --root="$pkgdir" -O1
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-virtualenv-clone/-/commit/d28d46a7b947b27715e53570291116dac0e62d88

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-virtualenv-clone/-/commit/d28d46a7b947b27715e53570291116dac0e62d88
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to