[arch-commits] Commit in python-identify/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 4 08:31:10 UTC 2020
Date: Wednesday, November 4, 2020 @ 08:31:10
Author: felixonmars
Revision: 741725
archrelease: copy trunk to community-any
Added:
python-identify/repos/community-any/PKGBUILD
(from rev 741724, python-identify/trunk/PKGBUILD)
Deleted:
python-identify/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-04 08:31:05 UTC (rev 741724)
+++ PKGBUILD 2020-11-04 08:31:10 UTC (rev 741725)
@@ -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.8
-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=('d32429a78bd4ebfec24016ec86b6e5595d0f9a9bcb1b09bac2fc50dc1706f027150face1b1d6221c42669357d5a69d120d8e1a6befd35f8b7f7db68cff2ce9b1')
-
-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 741724, python-identify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-04 08:31:10 UTC (rev 741725)
@@ -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.9
+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=('a688b9bfeca2cc3c78624c8c3bf5a52a9e5d962cf27d8f87c7c6e9624fe44bda483cc01bedf7e0e6f0fd54447ff3c6d368aefcf377d2f7d9876dda2e6fae7a9e')
+
+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