mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 23:42:07 +01:00
34 lines
872 B
Plaintext
34 lines
872 B
Plaintext
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-serpent
|
|
_pyname=serpent
|
|
pkgver=1.40
|
|
pkgrel=0
|
|
pkgdesc="Serialization based on ast.literal_eval for Python"
|
|
url="https://pypi.org/project/serpent/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-attrs py3-tz"
|
|
source="https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
replaces="py-serpent" # Backwards compatiblity
|
|
provides="py-serpent=$pkgname-r$pkgrel" # Backwards compatiblity
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9f8edebcd6e37de7442a00157f64b1dec6742cd198f45ab475be7f38aff4e090345739f7500181f0b0a4dbdc9241b2f11bca5ada7a89aa577d94646269d7ab28 serpent-1.40.tar.gz
|
|
"
|