[arch-commits] Commit in python-pytest-console-scripts/repos/community-any (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Jun 29 17:11:04 UTC 2022


    Date: Wednesday, June 29, 2022 @ 17:11:04
  Author: arojas
Revision: 1241072

archrelease: copy trunk to community-any

Added:
  python-pytest-console-scripts/repos/community-any/PKGBUILD
    (from rev 1241071, python-pytest-console-scripts/trunk/PKGBUILD)
Deleted:
  python-pytest-console-scripts/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   50 +++++++++++++++++++++++++-------------------------
 1 file changed, 25 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-29 17:10:53 UTC (rev 1241071)
+++ PKGBUILD	2022-06-29 17:11:04 UTC (rev 1241072)
@@ -1,25 +0,0 @@
-# Maintainer:
-
-pkgname=python-pytest-console-scripts
-_pyname=pytest-console-scripts
-pkgver=1.2.1
-pkgrel=4
-pkgdesc='Pytest plugin for testing console scripts'
-arch=(any)
-license=(MIT)
-url='https://github.com/kvas-it/pytest-console-scripts'
-depends=(python-mock python-pytest)
-makedepends=(python-setuptools-scm)
-source=(https://pypi.python.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz)
-sha512sums=('c2cd51a666ddae2488a54c1393adbeaad98748e621880f2b9172f0b14c227bc47a9ce46eaf4e31e86623a489160073a2990cdda80c04ef9ee22253b7853764dd')
-
-build() {
-  cd $_pyname-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd $_pyname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pytest-console-scripts/repos/community-any/PKGBUILD (from rev 1241071, python-pytest-console-scripts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-29 17:11:04 UTC (rev 1241072)
@@ -0,0 +1,25 @@
+# Maintainer:
+
+pkgname=python-pytest-console-scripts
+_pyname=pytest-console-scripts
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='Pytest plugin for testing console scripts'
+arch=(any)
+license=(MIT)
+url='https://github.com/kvas-it/pytest-console-scripts'
+depends=(python-mock python-pytest)
+makedepends=(python-build python-installer python-setuptools-scm python-wheel)
+source=(https://pypi.python.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz)
+sha512sums=('344e9379976d9a7541f9683f7646b47f7fc25d2ab8d941351811ada7fddd77497cc24f4bc6a6d5ab9388dd5b289ed125bcbfad869009fb3b80aaaa1b951d656d')
+
+build() {
+  cd $_pyname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list