Date: Monday, January 9, 2023 @ 13:24:27
Author: dvzrv
Revision: 1382104
archrelease: copy trunk to community-any
Added:
python-unearth/repos/community-any/PKGBUILD
(from rev 1382103, python-unearth/trunk/PKGBUILD)
Deleted:
python-unearth/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-09 13:24:15 UTC (rev 1382103)
+++ PKGBUILD 2023-01-09 13:24:27 UTC (rev 1382104)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=unearth
-pkgname=python-unearth
-pkgver=0.7.1
-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=('bacca3281659f17b72a5ce55a0b07f1dd23ee2a064e896139032eda21aaa9764')
-b2sums=('1c4ecd031091b4aa2016caff866915758b9d73f205ac6f1faf8e28c9b87499ebb6b3ab625f130b2a80956d2d58ef8a10d66969c8da969f5b932f4489597575e6')
-
-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 1382103,
python-unearth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-09 13:24:27 UTC (rev 1382104)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=unearth
+pkgname=python-unearth
+pkgver=0.7.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=('e2341ba7b99e431955a10cd3da0c15ab0d42a5f9cb3f1e3f460df42bc3396dcf')
+b2sums=('05e3f8d86629e27fc87daad4644d17b637abd531e5539867142d25a2a622aeeb3cd7cc23a1e2d38693a258f1bf6379aab417c4bdf81c702130035782301e496d')
+
+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/"
+}