blob: 19cf2e9f1f7283ea3af32b7d21bdf06e8c0759e0 (
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
|
# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-marshmallow-enum
_pkgname=marshmallow_enum
pkgver=1.5.1
pkgrel=4
pkgdesc="Enum field for use with Marshmallow."
url="https://github.com/justanr/marshmallow_enum"
arch="all"
license="MIT"
depends="python3 py3-marshmallow"
makedepends="py3-setuptools"
source="marshmallow-enum-$pkgver.tar.gz::https://github.com/justanr/marshmallow_enum/archive/v1.5.1.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="989fe58613dc28f242b1990a727a87c453809ad2de9355595e53e2c569de6434c76c150522c31189282edca74740dc0aabfafa57e2f78397644adae1b6d99f7d marshmallow-enum-1.5.1.tar.gz"
|