[arch-commits] Commit in python-findpython/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Aug 10 07:46:09 UTC 2022
Date: Wednesday, August 10, 2022 @ 07:46:09
Author: dvzrv
Revision: 1265031
archrelease: copy trunk to community-any
Added:
python-findpython/repos/community-any/PKGBUILD
(from rev 1265030, python-findpython/trunk/PKGBUILD)
Deleted:
python-findpython/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-10 07:45:59 UTC (rev 1265030)
+++ PKGBUILD 2022-08-10 07:46:09 UTC (rev 1265031)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=findpython
-pkgname=python-findpython
-pkgver=0.2.0
-pkgrel=1
-pkgdesc="A utility to find python versions on your system"
-arch=(any)
-url="https://github.com/frostming/findpython"
-license=(MIT)
-depends=(python-packaging)
-makedepends=(python-build python-installer python-pdm-pep517 python-wheel)
-checkdepends=(python-pytest)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('54d930aa9208eb9ec23f7dfc86cc11077827a37e584bcd10aee903d43368ce2fe270b8aa4f25c471479690503863fbcb9214090d97d3b673509f4e49100439a0')
-b2sums=('2641544436f4761ded18713351328a9ca0874b6f7522e69a500342408e6ea5d10458c415c0b27d1c31bca621ca36cf9d72fa3549c50f4dc5499451c559b10849')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- python -m installer --destdir="test_dir" dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- pytest -vv
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-findpython/repos/community-any/PKGBUILD (from rev 1265030, python-findpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-10 07:46:09 UTC (rev 1265031)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=findpython
+pkgname=python-findpython
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="A utility to find python versions on your system"
+arch=(any)
+url="https://github.com/frostming/findpython"
+license=(MIT)
+depends=(python-packaging)
+makedepends=(python-build python-installer python-pdm-pep517 python-wheel)
+checkdepends=(python-pytest)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('34c86bdf7935df749710aee6b52782b9bf5bb18b4ba7aed314bface936ffaaac267b83f350c8f2c1f828d54834f3d5fd07aae9057b63350d3d6927deaa2b0f6d')
+b2sums=('0691157e7e7a59b0ca696287f1f87107082f2ba01fbc9ece19aabad5367d6fe1c407712d7db70909c9f4183be19056ac3a2ea623bd67be6fdd03366d57d67db9')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ python -m installer --destdir="test_dir" dist/*.whl
+ export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+ pytest -vv
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}
More information about the arch-commits
mailing list