blob: 80a9d31c682273960fde33acccf97b7e23ea5bc7 (
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
|
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py3-attrs
pkgver=17.2.0
pkgrel=0
pkgdesc="Python classes without boilerplate"
url="http://www.attrs.org"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-pytest"
source="py3-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz"
builddir="$srcdir/attrs-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
PYTHONPATH="$builddir/src" python3 check.py
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="0084f115d8013e63bd81118a9f4d7a5e9c0b398a1ca8596d81fa00db17b2c241243026ccc7a5af579aba1aa53027cabfa2ae8610ac310e7f037f7b0ef2b15542 py3-attrs-17.2.0.tar.gz"
|