[arch-commits] Commit in pypdf (4 files)

Antonio Rojas arojas at archlinux.org
Fri Nov 3 22:58:09 UTC 2017


    Date: Friday, November 3, 2017 @ 22:58:08
  Author: arojas
Revision: 265379

archrelease: copy trunk to community-any

Added:
  pypdf/repos/
  pypdf/repos/community-any/
  pypdf/repos/community-any/LICENSE
    (from rev 265378, pypdf/trunk/LICENSE)
  pypdf/repos/community-any/PKGBUILD
    (from rev 265378, pypdf/trunk/PKGBUILD)

----------+
 LICENSE  |   26 ++++++++++++++++++++++++++
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: pypdf/repos/community-any/LICENSE (from rev 265378, pypdf/trunk/LICENSE)
===================================================================
--- repos/community-any/LICENSE	                        (rev 0)
+++ repos/community-any/LICENSE	2017-11-03 22:58:08 UTC (rev 265379)
@@ -0,0 +1,26 @@
+# Copyright (c) 2006, Mathieu Fenniak
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * The name of the author may not be used to endorse or promote products
+# derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.

Copied: pypdf/repos/community-any/PKGBUILD (from rev 265378, pypdf/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2017-11-03 22:58:08 UTC (rev 265379)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgbase=pypdf
+pkgname=(python-pypdf python2-pypdf)
+pkgver=1.13
+pkgrel=4
+pkgdesc='A Pure-Python library built as a PDF toolkit'
+arch=(any)
+url="http://pybrary.net/pyPdf"
+license=(BSD)
+makedepends=(python-setuptools python2-setuptools)
+source=(https://pypi.io/packages/source/p/pyPdf/pyPdf-$pkgver.tar.gz LICENSE)
+sha256sums=('3aede4c3c9c6ad07c98f059f90db0b09ed383f7c791c46100f649e1cabda0e3b'
+            '50ba5f73d8981222fe56ea3295bfa7e1cc51476f1044a1233d6c3500c741f786')
+
+package_python-pypdf() {
+    depends=(python)
+ 
+    cd pyPdf-$pkgver
+    python setup.py install --root="$pkgdir"
+    install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+package_python2-pypdf() {
+    depends=(python2)
+
+    cd pyPdf-$pkgver
+    python2 setup.py install --root="$pkgdir"
+    install -D -m644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+



More information about the arch-commits mailing list