diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-17 08:42:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-17 11:45:58 +0000 |
commit | d96761137c878ce2b9a9047bd08231d5192093d2 (patch) | |
tree | ae5390e52e33bae8b4b3f003b6651e6ef09ff171 /unmaintained/py-flask-weasyprint | |
parent | d3d08a6c3041257ae7dcbeabcbed85e0a790027b (diff) | |
download | aports-d96761137c878ce2b9a9047bd08231d5192093d2.tar.bz2 aports-d96761137c878ce2b9a9047bd08231d5192093d2.tar.xz |
testing/py-flask-weasyprint: move to unmaintained
Diffstat (limited to 'unmaintained/py-flask-weasyprint')
-rw-r--r-- | unmaintained/py-flask-weasyprint/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/py-flask-weasyprint/APKBUILD b/unmaintained/py-flask-weasyprint/APKBUILD new file mode 100644 index 0000000000..68b4c5501f --- /dev/null +++ b/unmaintained/py-flask-weasyprint/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: +# Maintainer: +pkgname=py-flask-weasyprint +pkgver=0.4 +pkgrel=1 +pkgdesc="flask binding to py-weasyprint" +url="https://pythonhosted.org/flask-weasyprint" +arch="noarch" +license="BSD" +depends="python2 py-weasyprint py-flask py-setuptools" +depends_dev="" +makedepends="python2-dev" +install="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/F/Flask-WeasyPrint/Flask-WeasyPrint-$pkgver.tar.gz" + +_builddir="$srcdir"/Flask-WeasyPrint-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python2 setup.py build || return 1 +} + +package() { + cd "$_builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="6d24da2c30f7d3feebc43f5081670884 Flask-WeasyPrint-0.4.tar.gz" +sha256sums="ae586c52d1b465eb196fd187d52c7a09ebb6519f9db749d7082c12d1844b78dc Flask-WeasyPrint-0.4.tar.gz" +sha512sums="941997a553f9154fcea3d4e35e2cd3ab7d5e8b19dad91ed7fb7bbad1e413d9060b272a9e452ddb42a4d698fbcc43673323ede27dc998d8a4067b52ae0a74fca7 Flask-WeasyPrint-0.4.tar.gz" |