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

Felix Yan felixonmars at gemini.archlinux.org
Sun Jan 9 19:17:18 UTC 2022


    Date: Sunday, January 9, 2022 @ 19:17:18
  Author: felixonmars
Revision: 1098446

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-09 19:17:12 UTC (rev 1098445)
+++ PKGBUILD	2022-01-09 19:17:18 UTC (rev 1098446)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-
-_name=identify
-pkgname=python-identify
-pkgver=2.4.0
-pkgrel=1
-pkgdesc="File identification library for Python"
-arch=('any')
-url="https://github.com/pre-commit/identify"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-ukkonen' 'python-pytest')
-optdepends=('python-ukkonen: for returning license identifiers')
-source=("${_name}-${pkgver}.tar.gz::https://github.com/pre-commit/${_name}/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('f0806d3785ef5db9cb1b5354c146fc0d33b4a4f04b3ff899945e9e93273a0bf8e4c8ff07ace22b5d71721c953148c007630dc400b82849321e8399ecdfffbc85')
-b2sums=('1ba4fcf235518427fba8a59eb30ceb0c20ed23f5a3c4f56d6039ab530aaaba6b83ee395626a7d086f193f57f00a8d34a659883d897a21dc0fae5018cb0a4e87a')
-
-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 --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-any/PKGBUILD (from rev 1098445, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-09 19:17:18 UTC (rev 1098446)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+_name=identify
+pkgname=python-identify
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="File identification library for Python"
+arch=('any')
+url="https://github.com/pre-commit/identify"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-ukkonen' 'python-pytest')
+optdepends=('python-ukkonen: for returning license identifiers')
+source=("${_name}-${pkgver}.tar.gz::https://github.com/pre-commit/${_name}/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('69253bd364ed96ae64d83ee25da0d9aae97731e602f193008471dd99f47db2b87aa33dda1f87fb9edf939992e0452ca45f07f1d7d5e628352b50d4c2e68b7d0e')
+b2sums=('e7c04480159062ec25063d956dda6d904031bbcc30fdab6011ad24a8c3816490d0dfe08cec19fdfe660509a246da820ccfe41d4dcd909daa9c59b622bf506148')
+
+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 --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