[arch-commits] Commit in python-jaraco.envs/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Jun 12 17:45:40 UTC 2022


    Date: Sunday, June 12, 2022 @ 17:45:40
  Author: felixonmars
Revision: 1237141

archrelease: copy trunk to community-any

Added:
  python-jaraco.envs/repos/community-any/PKGBUILD
    (from rev 1237140, python-jaraco.envs/trunk/PKGBUILD)
Deleted:
  python-jaraco.envs/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-12 17:45:27 UTC (rev 1237140)
+++ PKGBUILD	2022-06-12 17:45:40 UTC (rev 1237141)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jaraco.envs
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="Classes for orchestrating Python (virtual) environments"
-url="https://github.com/jaraco/jaraco.envs"
-license=('MIT')
-arch=('any')
-depends=('python-path' 'python-virtualenv' 'python-tox')
-makedepends=('python-setuptools-scm')
-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')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd jaraco.envs-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd jaraco.envs-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd jaraco.envs-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-jaraco.envs/repos/community-any/PKGBUILD (from rev 1237140, python-jaraco.envs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-12 17:45:40 UTC (rev 1237141)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jaraco.envs
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="Classes for orchestrating Python (virtual) environments"
+url="https://github.com/jaraco/jaraco.envs"
+license=('MIT')
+arch=('any')
+depends=('python-path' 'python-virtualenv' 'python-tox')
+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=('a2b098fb9ee0ec1f1cc281fec7fb177130b1f15768e0072be01e1288df0f328b902745315af3a58b2f2ebd85c224eb118e122e23bffd6cc000793c306abc0d55')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd jaraco.envs-$pkgver
+  python -m build -wn
+}
+
+check() {
+  cd jaraco.envs-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd jaraco.envs-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list