Date: Wednesday, January 4, 2023 @ 09:46:30
  Author: arojas
Revision: 1375039

archrelease: copy trunk to community-any

Added:
  python-pooch/repos/
  python-pooch/repos/community-any/
  python-pooch/repos/community-any/PKGBUILD
    (from rev 1375038, python-pooch/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-pooch/repos/community-any/PKGBUILD (from rev 1375038, 
python-pooch/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD                                (rev 0)
+++ repos/community-any/PKGBUILD        2023-01-04 09:46:30 UTC (rev 1375039)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Jingbei Li <[email protected]>
+# Contributor: Jose Riha <jose1711 gmail com>
+
+pkgname=python-pooch
+_pyname=pooch
+pkgver=1.6.0
+pkgrel=3
+pkgdesc='Python library for fetching and caching data files'
+arch=(any)
+url='https://www.fatiando.org/pooch/latest/'
+license=(BSD)
+depends=(python-requests python-appdirs)
+makedepends=(python-build python-installer python-setuptools-scm python-wheel)
+checkdepends=(python-pytest)
+source=(https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz)
+sha256sums=('57d20ec4b10dd694d2b05bb64bc6b109c6e85a6c1405794ce87ed8b341ab3f44')
+
+build() {
+  cd $_pyname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pyname-$pkgver
+  pytest -v -k 'not test_check_availability_on_ftp and not test_ftp_downloader'
+}
+
+package() {
+  cd $_pyname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to