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

Felix Yan felixonmars at archlinux.org
Sun Sep 13 20:24:31 UTC 2020


    Date: Sunday, September 13, 2020 @ 20:24:30
  Author: felixonmars
Revision: 705251

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-13 20:24:21 UTC (rev 705250)
+++ PKGBUILD	2020-09-13 20:24:30 UTC (rev 705251)
@@ -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.5.1
-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=('94c79569b92a46d8b3b6288916c8a6cb388962f6898a6ea0d0b776c134e470cb927b3d4c110962c77b48723042bad1b8827e108ab65dc950cf430aff3c60111d')
-
-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 705250, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-13 20:24:30 UTC (rev 705251)
@@ -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.5.2
+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=('de545c87e3d61276e0bcd23d0990f76c68d8e499a9fc883a8bc7cf7a68ea0884cf71227d56483e1406deb013af745ae0cc5eeba866eaca6528c81f7ee090545c')
+
+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