[arch-commits] Commit in python-pdfminer/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Mon Jul 27 20:26:50 UTC 2020


    Date: Monday, July 27, 2020 @ 20:26:49
  Author: archange
Revision: 665529

archrelease: copy trunk to community-any

Added:
  python-pdfminer/repos/community-any/PKGBUILD
    (from rev 665528, python-pdfminer/trunk/PKGBUILD)
Deleted:
  python-pdfminer/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-27 20:26:44 UTC (rev 665528)
+++ PKGBUILD	2020-07-27 20:26:49 UTC (rev 665529)
@@ -1,35 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pdfminer
-pkgname=python-${_pkg}
-pkgver=20200517
-pkgrel=1
-pkgdesc="Python PDF Parser"
-arch=(any)
-url="https://github.com/pdfminer/pdfminer.six"
-license=(MIT)
-depends=(python-chardet python-pycryptodome python-sortedcontainers)
-makedepends=(python-setuptools cython)
-checkdepends=(python-nose)
-# Provided tarballs do not include tests
-#source=(${url}/releases/download/${pkgver}/${_pkg}.six-${pkgver}.tar.gz)
-source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('4c8e41e01f00706d2f9433a74a9fdcb362250122ee3ac17752aa6f3cff8f0e72')
-
-build() {
-  cd ${_pkg}.six-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}.six-${pkgver}
-  nosetests
-}
-
-package() {
-  cd ${_pkg}.six-${pkgver}
-  python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-  # Fix ownership
-  chmod a+r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/pdfminer/cmap/*
-}

Copied: python-pdfminer/repos/community-any/PKGBUILD (from rev 665528, python-pdfminer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-27 20:26:49 UTC (rev 665529)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pdfminer
+pkgname=python-${_pkg}
+pkgver=20200720
+pkgrel=1
+pkgdesc="Python PDF Parser"
+arch=(any)
+url="https://github.com/pdfminer/pdfminer.six"
+license=(MIT)
+depends=(python-chardet python-cryptography python-sortedcontainers)
+makedepends=(python-setuptools cython)
+checkdepends=(python-nose)
+# Provided tarballs do not include tests
+#source=(${url}/releases/download/${pkgver}/${_pkg}.six-${pkgver}.tar.gz)
+source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('b7392771e11e98f0de46b139963269021e2ed66ce1288cddba030cb35f4c82e4')
+
+build() {
+  cd ${_pkg}.six-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}.six-${pkgver}
+  nosetests
+}
+
+package() {
+  cd ${_pkg}.six-${pkgver}
+  python setup.py install --skip-build --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+  # Fix ownership
+  chmod a+r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/pdfminer/cmap/*
+}



More information about the arch-commits mailing list