mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
28 lines
815 B
Text
28 lines
815 B
Text
# 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"
|