[arch-commits] Commit in python-internetarchive/repos/community-any (2 files)

Florian Pritz bluewind at gemini.archlinux.org
Sun Aug 28 11:11:14 UTC 2022


    Date: Sunday, August 28, 2022 @ 11:11:13
  Author: bluewind
Revision: 1285073

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 54 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-28 11:11:09 UTC (rev 1285072)
+++ PKGBUILD	2022-08-28 11:11:13 UTC (rev 1285073)
@@ -1,52 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: David McInnis <dave at dave3.xyz>
-# Contributor:  jyantis <yantis at yantis.net>
-
-pkgname=python-internetarchive
-pkgver=3.0.1
-pkgrel=1
-pkgdesc='Wrapper for the various Internet Archive APIs (IA-S3, Metadata API, etc)'
-arch=('any')
-url='https://github.com/jjjake/ia-wrapper'
-license=('AGPL3')
-depends=('python'
-         'python-six'
-         'python-yaml'
-         'python-requests'
-         'python-jsonpatch'
-         'python-docopt'
-         'python-jsonpointer'
-         'python-args'
-         'python-tqdm'
-         'python-schema'
-        )
-makedepends=('python-setuptools')
-optdepends=('python-ujson: faster json parsing'
-            'python-gevent: concurrent downloads'
-            'cython: speedups')
-checkdepends=(python-responses
-              python-pytest
-             )
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jjjake/internetarchive/archive/v${pkgver}.tar.gz")
-sha256sums=('02d67e0445193cb9a28df37b6665012d3007a74ab6cc6461bdedec22f5c70839')
-
-build() {
-  cd internetarchive-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd internetarchive-${pkgver}
-
-  python setup.py test
-}
-
-package() {
-  cd internetarchive-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1
-
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -D -m644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-internetarchive/repos/community-any/PKGBUILD (from rev 1285072, python-internetarchive/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-28 11:11:13 UTC (rev 1285073)
@@ -0,0 +1,54 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: David McInnis <dave at dave3.xyz>
+# Contributor:  jyantis <yantis at yantis.net>
+
+pkgname=python-internetarchive
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='Wrapper for the various Internet Archive APIs (IA-S3, Metadata API, etc)'
+arch=('any')
+url='https://github.com/jjjake/ia-wrapper'
+license=('AGPL3')
+depends=('python'
+         'python-six'
+         'python-yaml'
+         'python-requests'
+         'python-jsonpatch'
+         'python-docopt'
+         'python-jsonpointer'
+         'python-args'
+         'python-tqdm'
+         'python-schema'
+        )
+makedepends=('python-setuptools')
+optdepends=('python-ujson: faster json parsing'
+            'python-gevent: concurrent downloads'
+            'cython: speedups')
+checkdepends=(python-responses
+              python-pytest
+             )
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jjjake/internetarchive/archive/v${pkgver}.tar.gz")
+sha256sums=('3ed072df55211ebedac00f226c88f27313a74e32d54b1af882e664ace083f3ac')
+
+build() {
+  cd internetarchive-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd internetarchive-${pkgver}
+
+  # FIXME: tests/cli/test_ia_download.py tries to run `ia`, but the binary is not
+  # installed and installing + changing $PATH does not seem to work. deselect the test for now
+  pytest --deselect 'tests/cli/test_ia_download.py'
+}
+
+package() {
+  cd internetarchive-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1
+
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -D -m644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list