[arch-commits] Commit in python-jaraco.test/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jul 27 20:44:45 UTC 2022
Date: Wednesday, July 27, 2022 @ 20:44:45
Author: arojas
Revision: 1258944
archrelease: copy trunk to community-any
Added:
python-jaraco.test/repos/community-any/PKGBUILD
(from rev 1258943, python-jaraco.test/trunk/PKGBUILD)
Deleted:
python-jaraco.test/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-27 20:44:36 UTC (rev 1258943)
+++ PKGBUILD 2022-07-27 20:44:45 UTC (rev 1258944)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jaraco.test
-pkgver=5.0.0
-pkgrel=4
-pkgdesc="Testing support by jaraco"
-url="https://github.com/jaraco/jaraco.test"
-license=('MIT')
-arch=('any')
-depends=('python-jaraco.collections' 'python-jaraco.context' 'python-jaraco.functools' 'python-toml'
- 'python-more-itertools')
-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.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5a5c3268b570269f5d18166c9c90973e18acbd14f382c08a8576f8612fc477d739d1e8714aa9cbdf0cb2da9551a0a19da33976ed443449007eb6b300a055f987')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd jaraco.test-$pkgver
- python setup.py build
-}
-
-check() {
- cd jaraco.test-$pkgver
- python -m pytest
-}
-
-package() {
- cd jaraco.test-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-jaraco.test/repos/community-any/PKGBUILD (from rev 1258943, python-jaraco.test/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-27 20:44:45 UTC (rev 1258944)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jaraco.test
+pkgver=5.1.0
+pkgrel=1
+pkgdesc="Testing support by jaraco"
+url="https://github.com/jaraco/jaraco.test"
+license=('MIT')
+arch=('any')
+depends=('python-jaraco.collections' 'python-jaraco.context' 'python-jaraco.functools' 'python-toml'
+ 'python-more-itertools')
+makedepends=('python-setuptools-scm' 'python-wheel' 'python-build' 'python-installer')
+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.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6cd810b8075e622b7a631b3bcca953c6210f2f427ea35f9958f98110fcfb5ef9bd7046ad2909355451208983aa2a25abee29fec829cc18dc94ad491d319e1361')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd jaraco.test-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd jaraco.test-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd jaraco.test-$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