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

Florian Pritz bluewind at archlinux.org
Sat Mar 30 21:30:28 UTC 2019


    Date: Saturday, March 30, 2019 @ 21:30:27
  Author: bluewind
Revision: 446420

archrelease: copy trunk to community-any

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

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

Copied: python-internetarchive/repos/community-any/PKGBUILD (from rev 446419, python-internetarchive/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-03-30 21:30:27 UTC (rev 446420)
@@ -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=1.8.1
+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-clint'
+         'python-six'
+         'python-yaml'
+         'python-requests'
+         'python-jsonpatch'
+         'python-pytest'
+         'python-docopt'
+         'python-jsonpointer'
+         'python-args'
+         # seem unnecessary?
+         #'python-backports.csv'
+         'python-schema'
+        )
+optdepends=('python-ujson: faster json parsing'
+            'python-gevent: concurrent downloads'
+            'cython: speedups')
+checkdepends=(python-responses)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jjjake/internetarchive/archive/v${pkgver}.tar.gz")
+sha256sums=('9db8b179434521345a93a01e73669b9fd9a8949f8a75b52fcf22f3de865229c7')
+
+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