blob: 0dd9eb980565fb251d21b0e6a41a0812b275c0c5 (
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
30
31
32
33
34
35
|
# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=py3-attrs
pkgver=22.2.0
pkgrel=0
pkgdesc="Python classes without boilerplate"
url="http://www.attrs.org"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="py-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz
check.py
"
builddir="$srcdir/attrs-$pkgver"
replaces="py-attrs" # Backwards compatibility
provides="py-attrs=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$builddir/src" python3 "$srcdir"/check.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
f650c8a1a16ea84b55cbaafc65c81ba6437a9a9c2f6bf257d74212430c94ad964e67160ad78f35578213879fe20042f0d7b1a4b64e35ae20d0d65c1fcd70094a py-attrs-22.2.0.tar.gz
36bcb4ec145f29e79fc019dc39672f13dc94e1c07225968af51f19e17b2aede0b23dafdff265f1e77a251e53af9802bcf1db5068900ee0a03e1bfc1051c01ef9 check.py
"
|