[arch-commits] Commit in python-jaraco.envs/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Jun 12 17:45:28 UTC 2022
Date: Sunday, June 12, 2022 @ 17:45:27
Author: felixonmars
Revision: 1237140
upgpkg: python-jaraco.envs 2.3.0-1
Modified:
python-jaraco.envs/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-12 17:45:14 UTC (rev 1237139)
+++ PKGBUILD 2022-06-12 17:45:27 UTC (rev 1237140)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-jaraco.envs
-pkgver=2.2.0
+pkgver=2.3.0
pkgrel=1
pkgdesc="Classes for orchestrating Python (virtual) environments"
url="https://github.com/jaraco/jaraco.envs"
@@ -8,18 +8,18 @@
license=('MIT')
arch=('any')
depends=('python-path' 'python-virtualenv' 'python-tox')
-makedepends=('python-setuptools-scm')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
'python-pytest-enabler' 'python-pytest-flake8' 'python-pytest-mypy'
'python-pip')
source=("https://github.com/jaraco/jaraco.envs/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('bf6733690b685760beb534886b5eee4db7d18536b890ecadda4e7b08c7fe9e1a1215abc4464ef3c2da99ecce98afeb815b8e6e57d6de93682363f5d1052ede16')
+sha512sums=('a2b098fb9ee0ec1f1cc281fec7fb177130b1f15768e0072be01e1288df0f328b902745315af3a58b2f2ebd85c224eb118e122e23bffd6cc000793c306abc0d55')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
build() {
cd jaraco.envs-$pkgver
- python setup.py build
+ python -m build -wn
}
check() {
@@ -29,7 +29,7 @@
package() {
cd jaraco.envs-$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/
}
More information about the arch-commits
mailing list