blob: 2afdcc18e96d34bc2cc73a7ea2885f49ec3c4b0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Joe Bashe <joe@bashe.joe>
_name=incremental
pkgname=python2-incremental
pkgver=21.3.0
pkgrel=1
pkgdesc='A small library that versions your Python projects.'
arch=('any')
url='https://github.com/twisted/incremental'
license=('GPL2')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://github.com/twisted/incremental/archive/refs/tags/incremental-$pkgver.tar.gz")
sha256sums=('57b6a0785f265ffe59a454276efac1062943bb5b7bff7b5505bf054a563c22c4')
build() {
cd "${_name}-${_name}-${pkgver}"
python2 setup.py build
}
package() {
cd "${_name}-${_name}-${pkgver}"
python2 setup.py install --skip-build \
--optimize=1 \
--prefix=/usr \
--root="${pkgdir}"
install -vDm 644 {NEWS.rst,README.rst} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}
|