Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit 3e8780b

Browse files
foutrelissvntogit
foutrelis
authored and
svntogit
committed
archrelease: copy trunk to community-staging-any
git-svn-id: file:///srv/repos/svn-community/svn@747506 9fca08f4-af9d-4005-b8df-a31f2cc04f65
1 parent 7628a6f commit 3e8780b

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

repos/community-staging-any/PKGBUILD

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Maintainer: David Runge <[email protected]>
2+
# Contributor: Felix Yan <[email protected]>
3+
# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
4+
# Contributor: Carl George < arch at cgtx dot us >
5+
6+
_name=smmap
7+
pkgname=python-smmap
8+
pkgver=3.0.4
9+
pkgrel=2
10+
epoch=1
11+
pkgdesc="A pure git implementation of a sliding window memory map manager"
12+
arch=('any')
13+
url="https://github.com/gitpython-developers/smmap"
14+
license=('BSD')
15+
depends=('python')
16+
makedepends=('python-setuptools')
17+
checkdepends=('python-pytest')
18+
source=("https://pypi.org/packages/source/s/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
19+
sha512sums=('da7e5c0257f29b487eb5ee18f29656340f7f6999dd625d93560444d526df8036a8fc4452242a2d01203907798709d82a0015709e097bc22acd3d0a8b976ef9fe'
20+
'SKIP')
21+
validpgpkeys=('2CF6E0B51AAF73F09B1C21174D1DA68C88710E60') # Sebastian Thiel (In Rust I trust!) <[email protected]>
22+
23+
prepare() {
24+
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
25+
}
26+
27+
build() {
28+
cd "${pkgname}-${pkgver}"
29+
python setup.py build
30+
}
31+
32+
check() {
33+
cd "${pkgname}-${pkgver}"
34+
pytest -v
35+
}
36+
37+
package() {
38+
cd "${pkgname}-${pkgver}"
39+
python setup.py install --skip-build \
40+
--optimize=1 \
41+
--prefix=/usr \
42+
--root="${pkgdir}"
43+
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
44+
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
45+
}

0 commit comments

Comments
 (0)