[arch-commits] Commit in python-reportlab/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Jul 23 16:08:50 UTC 2018


    Date: Monday, July 23, 2018 @ 16:08:49
  Author: foutrelis
Revision: 363110

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 363109, python-reportlab/trunk/ChangeLog)
  python-reportlab/repos/community-staging-x86_64/PKGBUILD
    (from rev 363109, python-reportlab/trunk/PKGBUILD)

-----------+
 ChangeLog |   18 ++++++++++++++++++
 PKGBUILD  |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

Copied: python-reportlab/repos/community-staging-x86_64/ChangeLog (from rev 363109, python-reportlab/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2018-07-23 16:08:49 UTC (rev 363110)
@@ -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 363109, python-reportlab/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-23 16:08:49 UTC (rev 363110)
@@ -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.5.1
+pkgrel=2
+pkgdesc="A proven industry-strength PDF generating solution"
+arch=('x86_64')
+url="http://www.reportlab.org/rl_toolkit.html"
+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=(hg+https://bitbucket.org/rptlab/reportlab#tag=ReportLab_3_5_0)
+md5sums=('SKIP')
+
+build() {
+    cd $srcdir
+    cp -rf ${_origname} "${_origname}2"
+}
+
+package_python2-reportlab() {
+    depends+=('python2' 'python2-pip' 'python2-pillow')
+
+    cd "$srcdir/${_origname}2"
+    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' 'python-pip' 'python-pillow')
+
+    cd "$srcdir/${_origname}"
+    python3 setup.py install --root=$pkgdir --optimize=1
+    install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+
+check() {
+    cd ${srcdir}/${_origname}
+    python2 setup.py tests
+    python setup.py tests
+}



More information about the arch-commits mailing list