[arch-commits] Commit in python-pylev/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Jan 1 23:06:25 UTC 2020
Date: Wednesday, January 1, 2020 @ 23:06:24
Author: eschwartz
Revision: 545968
archrelease: copy trunk to community-any
Added:
python-pylev/repos/community-any/PKGBUILD
(from rev 545967, python-pylev/trunk/PKGBUILD)
Deleted:
python-pylev/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 36 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-01 23:06:10 UTC (rev 545967)
+++ PKGBUILD 2020-01-01 23:06:24 UTC (rev 545968)
@@ -1,47 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=pylev
-pkgbase=python-pylev
-pkgname=('python-pylev' 'python2-pylev')
-pkgver=1.3.0
-# PyPI does not have testsuite, Github does not have version tags
-_commit=72e3d490515c3188e2acac9c15ea1b466f9ff938
-pkgrel=3
-pkgdesc="A pure Python Levenshtein implementation that's not freaking GPL'd"
-arch=('any')
-url="https://github.com/toastdriven/${_pkgname}"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("${_pkgname}-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz")
-sha256sums=('f05a9f4eb31355f0536c323df6855a033fd88f4c92bcf23a1802fea4f379aeeb')
-b2sums=('03793e831c8034e31638d9c469fd386d3acac1dae75f2ef2a0af5c38ee5f11e6a7a20d423078cc42c647edec258db79486c01179e4284d93e64cca0bf99badca')
-
-build(){
- cd "${srcdir}"/${_pkgname}-${_commit}
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${_commit}
-
- python -m unittest tests
- python2 -m unittest tests
-}
-
-package_python-pylev() {
- depends=('python')
-
- cd "${srcdir}"/${_pkgname}-${_commit}
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-pylev() {
- depends=('python2')
-
- cd "${srcdir}"/${_pkgname}-${_commit}
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-pylev/repos/community-any/PKGBUILD (from rev 545967, python-pylev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-01 23:06:24 UTC (rev 545968)
@@ -0,0 +1,36 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=pylev
+pkgname=python-pylev
+pkgver=1.3.0
+# PyPI does not have testsuite, Github does not have version tags
+_commit=72e3d490515c3188e2acac9c15ea1b466f9ff938
+pkgrel=4
+pkgdesc="A pure Python Levenshtein implementation that's not freaking GPL'd"
+arch=('any')
+url="https://github.com/toastdriven/${_pkgname}"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${_pkgname}-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz")
+sha256sums=('f05a9f4eb31355f0536c323df6855a033fd88f4c92bcf23a1802fea4f379aeeb')
+b2sums=('03793e831c8034e31638d9c469fd386d3acac1dae75f2ef2a0af5c38ee5f11e6a7a20d423078cc42c647edec258db79486c01179e4284d93e64cca0bf99badca')
+
+build(){
+ cd "${srcdir}"/${_pkgname}-${_commit}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${_pkgname}-${_commit}
+
+ python -m unittest tests
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${_commit}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list