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

Eli Schwartz eschwartz at archlinux.org
Mon May 31 03:48:43 UTC 2021


    Date: Monday, May 31, 2021 @ 03:48:42
  Author: eschwartz
Revision: 951649

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 34 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-31 03:48:29 UTC (rev 951648)
+++ PKGBUILD	2021-05-31 03:48:42 UTC (rev 951649)
@@ -1,36 +0,0 @@
-# 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=6
-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
-}

Copied: python-pylev/repos/community-any/PKGBUILD (from rev 951648, python-pylev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-31 03:48:42 UTC (rev 951649)
@@ -0,0 +1,34 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=pylev
+pkgname=python-pylev
+pkgver=1.4.0
+pkgrel=1
+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}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('f7bf8fb939af1457b301a0f16b3e8c3979031e36a852b7f58fa353a33b930780')
+b2sums=('d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m unittest tests
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    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