[arch-commits] Commit in python-reportlab/repos (3 files)
Jelle van der Waa
jelle at archlinux.org
Sun Sep 20 11:59:49 UTC 2015
Date: Sunday, September 20, 2015 @ 13:59:49
Author: jelle
Revision: 141249
archrelease: copy trunk to community-staging-x86_64
Added:
python-reportlab/repos/community-staging-x86_64/
python-reportlab/repos/community-staging-x86_64/ChangeLog
(from rev 141248, python-reportlab/trunk/ChangeLog)
python-reportlab/repos/community-staging-x86_64/PKGBUILD
(from rev 141248, python-reportlab/trunk/PKGBUILD)
-----------+
ChangeLog | 18 ++++++++++++++++++
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
Copied: python-reportlab/repos/community-staging-x86_64/ChangeLog (from rev 141248, python-reportlab/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog (rev 0)
+++ community-staging-x86_64/ChangeLog 2015-09-20 11:59:49 UTC (rev 141249)
@@ -0,0 +1,18 @@
+
+2009-02-17 Douglas Soares de Andrade <douglas at archlinux.org>
+
+ * Updated for i686: 2.3
+
+2008-11-03 Giovanni Scafora <giovanni at archlinux.org>
+
+ * Rebuilt against python 2.6
+
+2008-09-14 Douglas Soares de Andrade <douglas at archlinux.org>
+
+ * Updating for x86_64: 2.2
+
+2008-09-13 Douglas Soares de Andrade <douglas at archlinux.org>
+
+ * Adding ChangeLog
+ * Updating for i686: 2.2
+
Copied: python-reportlab/repos/community-staging-x86_64/PKGBUILD (from rev 141248, python-reportlab/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-20 11:59:49 UTC (rev 141249)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=python-reportlab
+pkgname=(python2-reportlab python-reportlab)
+_origname=reportlab
+pkgver=3.2.0
+pkgrel=2
+pkgdesc="A proven industry-strength PDF generating solution"
+arch=('i686' 'x86_64')
+url="http://www.reportlab.org/rl_toolkit.html"
+depends=('freetype2')
+conflicts=('python-reportlab<=2.5-2')
+makedepends=('python' 'python2')
+checkdepends=('python2-pillow' 'python-pillow')
+replaces=('python-reportlab<=2.5-2')
+license=('CUSTOM')
+source=("https://pypi.python.org/packages/source/r/reportlab/reportlab-$pkgver.tar.gz")
+md5sums=('79d059e797c557aed4b40c68dd6c7eae')
+
+build() {
+ cd $srcdir
+ cp -rf ${_origname}-$pkgver "${_origname}2-$pkgver"
+}
+
+package_python2-reportlab() {
+ depends=('python2')
+ cd "$srcdir/${_origname}2-$pkgver"
+ python2 setup.py install --root=$pkgdir --optimize=1
+ install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python-reportlab() {
+ depends=('python3')
+ cd "$srcdir/${_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
+}
More information about the arch-commits
mailing list