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

David Runge dvzrv at archlinux.org
Tue Aug 27 15:14:42 UTC 2019


    Date: Tuesday, August 27, 2019 @ 15:14:41
  Author: dvzrv
Revision: 503296

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  101 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 45 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-27 15:14:37 UTC (rev 503295)
+++ PKGBUILD	2019-08-27 15:14:41 UTC (rev 503296)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
-# Contributor: Carl George < arch at cgtx dot us >
-
-pkgbase=python-smmap
-_pypiname=smmap2
-pkgname=("python-smmap" "python2-smmap")
-pkgver=2.0.5
-pkgrel=1
-pkgdesc="A pure git implementation of a sliding window memory map manager"
-arch=("any")
-url="https://github.com/gitpython-developers/smmap"
-license=("BSD")
-makedepends=("python-setuptools" "python2-setuptools")
-checkdepends=("python-nose" "python2-nose")
-source=("${pkgbase}-${pkgver}.tar.gz::https://pypi.org/packages/source/s/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"
-        "${pkgbase}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/s/${_pypiname}/${_pypiname}-${pkgver}.tar.gz.asc")
-sha512sums=('1db8f8d508a7ca97fef27de87494d667663efd8a56829d4bb99f37c5dffedae4dae05f8a0312ae9e4c14aa1ba5aa5de5b9ee1425d464be6f4bb07934f1a7a9f1'
-            'SKIP')
-validpgpkeys=('2CF6E0B51AAF73F09B1C21174D1DA68C88710E60') # Sebastian Thiel (In Rust I trust!) <byronimo at gmail.com>
-
-prepare() {
-    cp -a "${srcdir}/${_pypiname}-${pkgver}"{,-py2}
-}
-
-build() {
-    cd "${srcdir}/${_pypiname}-${pkgver}"
-    python setup.py build
-
-    cd "${srcdir}/${_pypiname}-${pkgver}-py2"
-    python2 setup.py build
-}
-
-check() {
-    cd "${srcdir}/${_pypiname}-${pkgver}"
-    nosetests3
-
-    cd "${srcdir}/${_pypiname}-${pkgver}-py2"
-    nosetests2
-}
-
-package_python-smmap() {
-    depends=("python")
-
-    cd "${srcdir}/${_pypiname}-${pkgver}"
-    python setup.py install --skip-build --root="${pkgdir}" --optimize=1
-    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-smmap() {
-    depends=("python2")
-
-    cd "${srcdir}/${_pypiname}-${pkgver}-py2"
-    python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1
-    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-smmap/repos/community-any/PKGBUILD (from rev 503295, python-smmap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-27 15:14:41 UTC (rev 503296)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+# Contributor: Carl George < arch at cgtx dot us >
+
+_name=smmap2
+pkgname=python-smmap
+pkgver=2.0.5
+pkgrel=2
+pkgdesc="A pure git implementation of a sliding window memory map manager"
+arch=('any')
+url="https://github.com/gitpython-developers/smmap"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("${pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/s/${_name}/${_name}-${pkgver}.tar.gz"
+        "${pkgname}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/s/${_name}/${_name}-${pkgver}.tar.gz.asc")
+sha512sums=('1db8f8d508a7ca97fef27de87494d667663efd8a56829d4bb99f37c5dffedae4dae05f8a0312ae9e4c14aa1ba5aa5de5b9ee1425d464be6f4bb07934f1a7a9f1'
+            'SKIP')
+validpgpkeys=('2CF6E0B51AAF73F09B1C21174D1DA68C88710E60') # Sebastian Thiel (In Rust I trust!) <byronimo at gmail.com>
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  nosetests
+}
+
+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