Date: Friday, December 27, 2019 @ 16:53:51
  Author: svenstaro
Revision: 543158

archrelease: copy trunk to community-x86_64

Added:
  python-zstandard/repos/community-x86_64/
  python-zstandard/repos/community-x86_64/PKGBUILD
    (from rev 543157, python-zstandard/trunk/PKGBUILD)

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

Copied: python-zstandard/repos/community-x86_64/PKGBUILD (from rev 543157, 
python-zstandard/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2019-12-27 16:53:51 UTC (rev 543158)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com>
+# Contributor: Guillaume Horel <guillaume.ho...@gmail.com>
+pkgname=('python-zstandard')
+_pkgname='zstandard'
+pkgver='0.12.0'
+pkgrel=1
+pkgdesc="Python bindings to the Zstandard (zstd) compression library"
+url="https://github.com/indygreg/python-zstandard";
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-hypothesis')
+optdepends=('python-cffi')
+license=('BSD')
+arch=('x86_64')
+source=("https://github.com/indygreg/python-zstandard/archive/$pkgver.tar.gz";)
+sha256sums=('f814f5528c57f010498a8251c3400f87d1fb34fa164390d49d3701de3ef001cd')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    python setup.py build_ext
+}
+
+check() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    python setup.py build_ext --inplace
+    python setup.py test
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    python setup.py install --root="${pkgdir}" --optimize=1
+    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to