[arch-commits] Commit in python-smmap/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:06:33 UTC 2019
Date: Friday, October 25, 2019 @ 16:06:32
Author: foutrelis
Revision: 519378
archrelease: copy trunk to community-staging-any
Added:
python-smmap/repos/community-staging-any/
python-smmap/repos/community-staging-any/PKGBUILD
(from rev 519377, python-smmap/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-smmap/repos/community-staging-any/PKGBUILD (from rev 519377, python-smmap/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:06:32 UTC (rev 519378)
@@ -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=3
+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