Date: Monday, May 15, 2023 @ 20:49:59
Author: dvzrv
Revision: 1461879
archrelease: copy trunk to community-any
Added:
python-unearth/repos/community-any/PKGBUILD
(from rev 1461878, python-unearth/trunk/PKGBUILD)
Deleted:
python-unearth/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-15 20:49:48 UTC (rev 1461878)
+++ PKGBUILD 2023-05-15 20:49:59 UTC (rev 1461879)
@@ -1,58 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=unearth
-pkgname=python-unearth
-pkgver=0.9.0
-pkgrel=2
-pkgdesc="A utility to fetch and download python packages"
-arch=(any)
-url="https://github.com/frostming/unearth"
-license=(MIT)
-depends=(
- python
- python-packaging
- python-requests
- python-urllib3
-)
-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=('4ce747770f6c571698c7654276ddd0204c81c7d9a470f00a8c401d87bba67524')
-b2sums=('4d5bb2fd1199d74742165b63bcd2e6f2760d919608a76f0d17552e258c2478746f737d01b270fafd019b8739d71071533569c81f5b2c2afbdd34929e3601c721')
-
-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 1461878,
python-unearth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-15 20:49:59 UTC (rev 1461879)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=unearth
+pkgname=python-unearth
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A utility to fetch and download python packages"
+arch=(any)
+url="https://github.com/frostming/unearth"
+license=(MIT)
+depends=(
+ python
+ python-packaging
+ python-requests
+ python-urllib3
+)
+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=('7205832b087005d1b746903a535ca7d0db5381c1f621ddc00290524d56afd217')
+b2sums=('36e66561be24bcf34587ea83a4b12c8d6837547bbfdbdc1d73ba60f89119e48950983488dcee34f933c04f7b8411cf0661f5910b9da426d7d1123e9f08c3f947')
+
+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/"
+}