diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-23 11:23:54 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-23 11:37:29 +0200 |
commit | d3040d23415fc33d6ddef1174328a0c99caf0574 (patch) | |
tree | 080cb6011966a06e960fab93ed01c70ee35af89c /testing | |
parent | a20bac507e34cf878cb23e469b7e8cd93750b1f0 (diff) | |
download | aports-d3040d23415fc33d6ddef1174328a0c99caf0574.tar.bz2 aports-d3040d23415fc33d6ddef1174328a0c99caf0574.tar.xz |
testing/py-reportlab: move to community
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-reportlab/APKBUILD | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/testing/py-reportlab/APKBUILD b/testing/py-reportlab/APKBUILD deleted file mode 100644 index 6ac98bbe66..0000000000 --- a/testing/py-reportlab/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=py-reportlab -pkgver=3.4.0 -pkgrel=0 -pkgdesc="A proven industry-strength PDF generating solution" -url="http://www.reportlab.org/rl_toolkit.html" -arch="all" -license="BSD" -depends="py-pillow ttf-dejavu" -makedepends="python2-dev python3-dev py-setuptools freetype-dev ghostscript" -install="" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://pypi.python.org/packages/87/f9/53b34c58d3735a6df7d5c542bf4de60d699cfa6035e113ca08b3ecdcca3f/reportlab-$pkgver.tar.gz" -builddir="$srcdir/reportlab-$pkgver" - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - depends="${depends//py-/py2-}" - _py python2 -} - -_py3() { - depends="${depends//py-/py3-}" - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="7f00074b93be49e1aa7650e61381e285598599911b12a6b63c0f12d6eb64bc59afb6907b683350740b0a81c99a3164373b27e18cfccc0f9da12405c3dacd1ff7 reportlab-3.4.0.tar.gz" |