[arch-commits] Commit in python-reportlab/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 03:47:49 UTC 2019
Date: Monday, November 4, 2019 @ 03:47:48
Author: felixonmars
Revision: 523072
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 523071, python-reportlab/trunk/ChangeLog)
python-reportlab/repos/community-staging-x86_64/PKGBUILD
(from rev 523071, python-reportlab/trunk/PKGBUILD)
-----------+
ChangeLog | 18 ++++++++++++++++++
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
Copied: python-reportlab/repos/community-staging-x86_64/ChangeLog (from rev 523071, python-reportlab/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog (rev 0)
+++ community-staging-x86_64/ChangeLog 2019-11-04 03:47:48 UTC (rev 523072)
@@ -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 523071, python-reportlab/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-11-04 03:47:48 UTC (rev 523072)
@@ -0,0 +1,43 @@
+# Maintainer:
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+_origname=reportlab
+pkgbase=python-reportlab
+pkgname=(python2-reportlab python-reportlab)
+pkgver=3.5.28
+pkgrel=2
+pkgdesc="A proven industry-strength PDF generating solution"
+arch=('x86_64')
+url="https://bitbucket.org/rptlab/reportlab"
+depends=('freetype2')
+makedepends+=('python' 'python2' 'freetype2' 'python2-pillow' 'python-pillow' 'mercurial')
+license=('BSD')
+source=(https://files.pythonhosted.org/packages/source/${_origname::1}/${_origname}/${_origname}-${pkgver}.tar.gz)
+sha256sums=('7195c6ea096d10c91cc470f9f0ced3ad74470d9c0fd97923b5e764597dd13671')
+
+build() {
+ cp -rf ${_origname}-${pkgver} "${_origname}2"
+}
+
+package_python2-reportlab() {
+ depends+=('python2' 'python2-pip' 'python2-pillow')
+
+ cd ${_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 ${_origname}-${pkgver}
+ python3 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
+}
+
+check() {
+ cd ${_origname}-${pkgver}
+ python2 setup.py tests
+ python setup.py tests
+}
More information about the arch-commits
mailing list