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

Felix Yan felixonmars at gemini.archlinux.org
Fri Feb 11 01:17:47 UTC 2022


    Date: Friday, February 11, 2022 @ 01:17:47
  Author: felixonmars
Revision: 1131553

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-11 01:17:45 UTC (rev 1131552)
+++ PKGBUILD	2022-02-11 01:17:47 UTC (rev 1131553)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-
-_name=identify
-pkgname=python-identify
-pkgver=2.4.8
-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-editdistance-s: for returning license identifiers')
-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=('5e6be3bd3debb295621bfa666f00f293cfda7dbe744b77e6c792cf1e44f0ba9134ecbef9faac4d3b8c93655e7f2f5bd3556281e077798a830d90368917483a50')
-b2sums=('2f7d74799f624147427db96b6271e41a69f776ca4263571d4bfd7d43698694ed05dd0ff2c5176073da3af2a0582a540a473679508e239efa134411e0b3abc6e0')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "${_name}-${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 1131551, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-11 01:17:47 UTC (rev 1131553)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+_name=identify
+pkgname=python-identify
+pkgver=2.4.9
+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-editdistance-s: for returning license identifiers')
+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=('d52ae88882ffda3ae4043ddf018f21fdd74b6fbe35bc1cf4bda83f3f36de73e2314c1f8a87f61ab9449558824919fc6ea81c5ee40ef8181acdb14a27f686fb96')
+b2sums=('12f4182858b412cc8989488029014cdca8ddb88fd99254e0be9b3dbe37605a374091d97564cdeee77bfe91176f1089e68a181d6b25feaa311cc3c9fc9d26444f')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "${_name}-${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