diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-12-21 16:48:16 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-12-21 16:48:16 -0500 |
commit | ed0c058c41a6ee9a335ac26e553051a179c9dd28 (patch) | |
tree | 9a624b2ae275fcb04b36268ea41d9f023c89ef06 /libre/python-reportlab | |
parent | 2b227652f8328d06648b8646cd6c56a01e270628 (diff) | |
download | abslibre-ed0c058c41a6ee9a335ac26e553051a179c9dd28.tar.gz abslibre-ed0c058c41a6ee9a335ac26e553051a179c9dd28.tar.bz2 abslibre-ed0c058c41a6ee9a335ac26e553051a179c9dd28.zip |
python-reportlab-3.5.12-1.par1: updating version
Diffstat (limited to 'libre/python-reportlab')
-rw-r--r-- | libre/python-reportlab/PKGBUILD | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/libre/python-reportlab/PKGBUILD b/libre/python-reportlab/PKGBUILD index 1e06723cb..93c1c4072 100644 --- a/libre/python-reportlab/PKGBUILD +++ b/libre/python-reportlab/PKGBUILD @@ -1,4 +1,3 @@ -# $Id: PKGBUILD 155234 2016-01-03 19:23:59Z jelle $ # Maintainer (Arch): # Contributor (Arch): Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> # Contributor (Arch): William Rea <sillywilly@gmail.com> @@ -10,21 +9,20 @@ _origname=reportlab pkgbase=python-reportlab pkgname=(python2-reportlab python-reportlab) -pkgver=3.5.6 +pkgver=3.5.12 pkgrel=1 -pkgrel+=.parabola1 -pkgdesc="A proven industry-strength PDF generating solution, without nonfree Adobe T1 fonts support" +pkgrel+=.par1 +pkgdesc="A proven industry-strength PDF generating solution" +pkgdesc+=", without nonfree Adobe T1 fonts support" arch=('x86_64') arch+=('i686' 'armv7h') url="https://bitbucket.org/rptlab/reportlab" depends=('freetype2') -conflicts=('python-reportlab<=2.5-2') makedepends+=('python' 'python2' 'freetype2' 'python2-pillow' 'python-pillow' 'mercurial') -replaces=('python-reportlab<=2.5-2') license=('custom') source=(https://files.pythonhosted.org/packages/source/${_origname::1}/${_origname}/${_origname}-${pkgver}.tar.gz 'free-fonts.patch') -sha256sums=('3836a49e7ea7bce458f437cbc094633c7fd4ac027180565875c18ecc726f261e' +sha256sums=('7e10261065d0f926d9d83fd1f2edb8bec466f3c60b3e927ef40e2262805c069d' '7e31b2a2bde509d628cb7da9fec301d730d38ea8a8dc9956cdfc8da4ebeec370') prepare() { @@ -38,14 +36,13 @@ prepare() { } build() { - cd $srcdir cp -rf ${_origname}-${pkgver} "${_origname}2" } package_python2-reportlab() { depends+=('python2' 'python2-pip' 'python2-pillow') - cd "$srcdir/${_origname}2" + cd ${_origname}2 python2 setup.py install --root=$pkgdir --optimize=1 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt } @@ -53,13 +50,7 @@ package_python2-reportlab() { package_python-reportlab() { depends+=('python3' 'python-pip' 'python-pillow') - cd "$srcdir/${_origname}-${pkgver}" + cd ${_origname}-${pkgver} python3 setup.py install --root=$pkgdir --optimize=1 install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt } - -check() { - cd "${srcdir}/${_origname}-${pkgver}" - python2 setup.py tests - python setup.py tests -} |