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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jan 17 08:35:41 UTC 2022


    Date: Monday, January 17, 2022 @ 08:35:41
  Author: felixonmars
Revision: 1107524

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-17 08:35:33 UTC (rev 1107523)
+++ PKGBUILD	2022-01-17 08:35:41 UTC (rev 1107524)
@@ -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.3
-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=('2c82cc90d98a149dc211680c96d8c3bfcdbf955fd61eb207ae4a62d9bdb8f159707a7578838582bd16f45c300d9a8e7c5e7009a9daecb6b334b27fd160cc0d40')
-b2sums=('5ae76ac22ca462ae3dc7d71ed8d07344729ee54692cce52e1269057451733fab9c02647a51deed98cfa569b7758f37b4cc07353eb418314901b1eed2333eabdc')
-
-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 1107523, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-17 08:35:41 UTC (rev 1107524)
@@ -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.4
+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=('34a93640ca96483599e0cfdb1d69f37f8f4cb659b68ee84824079ee177e93aeb259ebc654f5fb39d5a0b68d267ba3c963870c9c55b6676e12c21b7f7573438a4')
+b2sums=('d5e31a8b74a724cfd0c169def52b434bd2b722aa7dfb9d92636a8eb28b1b1a7ccd9c9544d97d5fd359fb995b44b6d8a6428f484ee033f70292717053b1f5825f')
+
+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