blob: 5a4dc97414524d3e22c0516d7970cd0470ae5a84 (
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
|
# Maintainer: Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
pkgname=python2-sortedcontainers
_pkgname=python-sortedcontainers
pkgver=2.4.0
pkgrel=1
pkgdesc='Library providing sorted container types for Python.'
arch=(any)
url=https://github.com/grantjenks/python-sortedcontainers
license=('custom:Apache2')
depends=(python2)
makedepends=(python2-setuptools)
source=(https://github.com/grantjenks/${_pkgname}/archive/v${pkgver}.tar.gz)
md5sums=('11225da00795784d97bfea3a24ed009f')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
python2 setup.py build
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
python2 setup.py install --root=${pkgdir} --optimize=1
install -d -m 755 ${pkgdir}/usr/share/licenses/${pkgname}
install -D -m 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|