Date: Tuesday, January 31, 2023 @ 20:08:49
  Author: felixonmars
Revision: 1391519

archrelease: copy trunk to community-any

Added:
  python-pip-run/repos/community-any/PKGBUILD
    (from rev 1391518, python-pip-run/trunk/PKGBUILD)
Deleted:
  python-pip-run/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 32 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:08:37 UTC (rev 1391518)
+++ PKGBUILD    2023-01-31 20:08:49 UTC (rev 1391519)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pip-run
-pkgver=9.2.1
-pkgrel=1
-pkgdesc="Install packages and run Python with them"
-url="https://github.com/jaraco/pip-run";
-license=('MIT')
-arch=('any')
-depends=('python-autocommand' 'python-packaging' 'python-path' 'python-pip' 
'python-more-itertools'
-         'python-jaraco.context' 'python-jaraco.text')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
-checkdepends=('python-pytest' 'jupyter-nbformat' 'python-pytest-enabler' 
'python-jaraco.path')
-source=("https://github.com/jaraco/pip-run/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('f320da7641817df5c9418094fb49792e3368907ddac551ef22d97ab45b5183cb84f40338da106d5a47d238ca68ca376cbfc6d6c3528b9fca1db02bf910bd3d28')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd pip-run-$pkgver
-  python -m build -wn
-}
-
-check() {
-  cd pip-run-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd pip-run-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pip-run/repos/community-any/PKGBUILD (from rev 1391518, 
python-pip-run/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 20:08:49 UTC (rev 1391519)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pip-run
+pkgver=9.2.1
+_commit=f7a249371a1b67ff05b729043c300f6b8d74a9b8
+pkgrel=2
+pkgdesc="Install packages and run Python with them"
+url="https://github.com/jaraco/pip-run";
+license=('MIT')
+arch=('any')
+depends=('python-autocommand' 'python-packaging' 'python-path' 'python-pip' 
'python-more-itertools'
+         'python-jaraco.context' 'python-jaraco.text')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
+checkdepends=('python-pytest' 'jupyter-nbformat' 'python-pytest-enabler' 
'python-jaraco.path')
+source=("git+https://github.com/jaraco/pip-run.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd pip-run
+  python -m build -wn
+}
+
+check() {
+  cd pip-run
+  python -m pytest
+}
+
+package() {
+  cd pip-run
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to