Date: Sunday, July 31, 2022 @ 11:20:32
  Author: dvzrv
Revision: 1259302

archrelease: copy trunk to community-any

Added:
  python-unearth/repos/community-any/PKGBUILD
    (from rev 1259301, python-unearth/trunk/PKGBUILD)
Deleted:
  python-unearth/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-07-31 11:20:21 UTC (rev 1259301)
+++ PKGBUILD    2022-07-31 11:20:32 UTC (rev 1259302)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dv...@archlinux.org>
-
-_name=unearth
-pkgname=python-unearth
-pkgver=0.5.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-requests-wsgi-adapter)
-optdepends=('python-keyring: use keyring for authentication')
-source=(
-  
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
-)
-sha256sums=('e51696b1913f591b41927b3eef8cebe84668fb769bf81f88094b7cc99afa706d')
-b2sums=('c14626c49c83c69ae31c3bd7626b412afd74b8dcafbfad460b6d30b918e4f48864fa2c7c8f6fe85063baedd488f69137d3d1386502bd53118bd905bfc003ad60')
-
-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 1259301, 
python-unearth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-07-31 11:20:32 UTC (rev 1259302)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+
+_name=unearth
+pkgname=python-unearth
+pkgver=0.6.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=('4b7bfbd7d34a11673d80dfae7fabbf921c139aac78383fb0ca16a90d3b53a66e')
+b2sums=('84f7fe8615f01abb6e109649269b48954cbee026492b8cc37d05ca3ed4823d91064dd05c48c9eebb0c98fc07c006a144d4f14a38c7ba7d003bc63a02dc9d205d')
+
+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/"
+}

Reply via email to