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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 16:54:59 UTC 2020


    Date: Thursday, November 12, 2020 @ 16:54:59
  Author: foutrelis
Revision: 752081

archrelease: copy trunk to community-staging-any

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

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

Copied: python-internetarchive/repos/community-staging-any/PKGBUILD (from rev 752080, python-internetarchive/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 16:54:59 UTC (rev 752081)
@@ -0,0 +1,52 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: David McInnis <dave at dave3.xyz>
+# Contributor:  jyantis <yantis at yantis.net>
+
+pkgname=python-internetarchive
+pkgver=1.9.5
+pkgrel=2
+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-setuptools'
+         'python-six'
+         'python-yaml'
+         'python-requests'
+         'python-jsonpatch'
+         'python-docopt'
+         'python-jsonpointer'
+         'python-args'
+         'python-tqdm'
+         'python-schema'
+        )
+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=('9fa07f90072093396b7a6e014aed1ef20f6bd9807eed1ad99c34dd5bedb5e190')
+
+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:



More information about the arch-commits mailing list