Date: Thursday, December 8, 2022 @ 19:32:26
Author: dvzrv
Revision: 1357208
archrelease: copy trunk to community-any
Added:
python-unearth/repos/community-any/PKGBUILD
(from rev 1357207, python-unearth/trunk/PKGBUILD)
Deleted:
python-unearth/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-08 19:32:05 UTC (rev 1357207)
+++ PKGBUILD 2022-12-08 19:32:26 UTC (rev 1357208)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=unearth
-pkgname=python-unearth
-pkgver=0.6.2
-pkgrel=1
-pkgdesc="A utility to fetch and download python packages"
-arch=(any)
-url="https://github.com/frostming/unearth"
-license=(MIT)
-depends=(python-packaging python-requests)
-makedepends=(python-build python-installer python-pdm-pep517 python-wheel)
-checkdepends=(python-flask python-pytest python-pytest-httpserver
python-requests-wsgi-adapter python-trustme)
-optdepends=('python-keyring: use keyring for authentication')
-source=(
-
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
-)
-sha256sums=('130d0c59159795ae66986c1dcbe5d2ddd1da19841972d8d73510d5204b3817ea')
-b2sums=('260d698015ad367372e0aafc04373ff5eeb7f5a9e69e36370b97ab0e4c5c06cd2004cf89cd594a4f63671aaf593b18e9740d247eaa9b4037ad369346811fb88e')
-
-build() {
- cd $_name-$pkgver
- export PDM_PEP517_SCM_VERSION=$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- # install to temporary location, as importlib is used
- 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-unearth/repos/community-any/PKGBUILD (from rev 1357207,
python-unearth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-08 19:32:26 UTC (rev 1357208)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=unearth
+pkgname=python-unearth
+pkgver=0.6.3
+pkgrel=1
+pkgdesc="A utility to fetch and download python packages"
+arch=(any)
+url="https://github.com/frostming/unearth"
+license=(MIT)
+depends=(python-packaging python-requests)
+makedepends=(python-build python-installer python-pdm-pep517 python-wheel)
+checkdepends=(python-flask python-pytest python-pytest-httpserver
python-requests-wsgi-adapter python-trustme)
+optdepends=('python-keyring: use keyring for authentication')
+source=(
+
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
+)
+sha256sums=('3b7e494b0b13a8bd15d54c7c85870d2c051d912846263d16da671ff7bd8eef4f')
+b2sums=('f43f84b7215757fd04d22dab2b82cb2842fa83262e4ff46d920eda49864d58db5868274c956d40abe62331997895d0e635e2a23c5f8dff74956cb31975ffd3bf')
+
+build() {
+ cd $_name-$pkgver
+ export PDM_PEP517_SCM_VERSION=$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ # install to temporary location, as importlib is used
+ 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/"
+}