[arch-commits] Commit in python-identify/repos/community-testing-any (2 files)

David Runge dvzrv at archlinux.org
Thu Mar 4 18:09:08 UTC 2021


    Date: Thursday, March 4, 2021 @ 18:09:07
  Author: dvzrv
Revision: 880540

archrelease: copy trunk to community-testing-any

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

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-04 18:09:01 UTC (rev 880539)
+++ PKGBUILD	2021-03-04 18:09:07 UTC (rev 880540)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-
-_name=identify
-pkgname=python-identify
-pkgver=2.0.0
-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')
-source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('adc09239518c2f529b8c6d12802d9df042fd44a22aef9da3554e852a948dd64ff2be9826d49a9e13d4ccf91400c70e62fa601cc6ce90c9ef806c7feae9b9c669')
-b2sums=('afb1de3125a0ac6e84e1cef37770a5199bf329582040ef697146df2a2eeedc80f6f198a55c61162a5294f51d1659d30c05d59857d939d0f699bb01ca5422c1a4')
-
-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 \
-    --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-testing-any/PKGBUILD (from rev 880539, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-04 18:09:07 UTC (rev 880540)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+_name=identify
+pkgname=python-identify
+pkgver=2.1.0
+pkgrel=2
+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')
+optdepends=('python-editdistance: for returning license identifiers')
+source=("${_name}-${pkgver}.tar.gz::https://github.com/chriskuehl/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('65244ac9cfe5dfd4dc6262dff2c105c67a6298df9e5d126060de6ca39a3025cbbb65c1bebcbb7014e02bcdde3f884c758be7d89b004f2f978acaaaa3d53c2b85')
+b2sums=('ab9b5eb2960ccac7d4c1466766b1e0747b12800af4ebf9d9f2b7d485a76a19bcc731a7b14d172775ae8e8b806ec57672c886b737f0b68b6c189c3c3900db35e8')
+
+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 \
+    --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