[arch-commits] Commit in python-identify/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Tue May 26 21:51:18 UTC 2020


    Date: Tuesday, May 26, 2020 @ 21:51:17
  Author: dvzrv
Revision: 635438

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-26 21:51:07 UTC (rev 635437)
+++ PKGBUILD	2020-05-26 21:51:17 UTC (rev 635438)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-
-_name=identify
-pkgname=python-identify
-pkgver=1.4.16
-pkgrel=1
-pkgdesc="File identification library for Python"
-arch=('any')
-url="https://github.com/chriskuehl/identify"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-editdistance' 'python-pytest')
-# no tests in pypi sdist tarball:
-# https://github.com/chriskuehl/identify/issues/95
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('aa0938a62fae86578aa2090ff0246e7e08d28c11aea831a68aafdea69b7226313ef037cedac241999e369a7335afbebc0bb781ec659088010b716dec3dfa5176')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-identify/repos/community-any/PKGBUILD (from rev 635437, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-26 21:51:17 UTC (rev 635438)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+_name=identify
+pkgname=python-identify
+pkgver=1.4.17
+pkgrel=1
+pkgdesc="File identification library for Python"
+arch=('any')
+url="https://github.com/chriskuehl/identify"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-editdistance' 'python-pytest')
+# no tests in pypi sdist tarball:
+# https://github.com/chriskuehl/identify/issues/95
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('caa924defe09e9fbc5bf18a1059fe3124c5e8d924270212fa8cabdcc782d6863706be0d579c12a9ba517c1714d53f33d71538f72d757970ce70f0b7b486ce32c')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list