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

Levente Polyak anthraxx at archlinux.org
Wed Jun 12 18:46:47 UTC 2019


    Date: Wednesday, June 12, 2019 @ 18:46:46
  Author: anthraxx
Revision: 480996

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-12 18:46:42 UTC (rev 480995)
+++ PKGBUILD	2019-06-12 18:46:46 UTC (rev 480996)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-tblib
-pkgname=('python-tblib' 'python2-tblib')
-_pyname=tblib
-pkgver=1.3.2
-pkgrel=2
-pkgdesc='Python traceback fiddling library'
-url='https://github.com/ionelmc/python-tblib'
-arch=('any')
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/ionelmc/python-tblib/archive/v${pkgver}.tar.gz)
-sha256sums=('6eec32b8bac0a30a5a079add4983653da5fa717e986a9c304cd9c7273d3c29bc')
-sha512sums=('68f338024c574b2cc6bd144c2e1ade23f2e4f37866d81640ec655aea43f736156eca52728bfb6797caa6723c45ee62328172490ac6387be150c5d28d99f62784')
-
-prepare() {
-  cp -ra ${pkgbase}-${pkgver}{,-py2}
-}
-
-check() {
-  (cd ${pkgbase}-${pkgver}
-    python setup.py test
-  )
-  (cd ${pkgbase}-${pkgver}-py2
-    python2 setup.py test
-  )
-}
-
-package_python-tblib() {
-  depends=('python-six')
-  cd ${pkgbase}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-tblib() {
-  depends=('python2-six')
-  cd ${pkgbase}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-tblib/repos/community-any/PKGBUILD (from rev 480995, python-tblib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-12 18:46:46 UTC (rev 480996)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-tblib
+pkgname=('python-tblib' 'python2-tblib')
+_pyname=tblib
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='Python traceback fiddling library'
+url='https://github.com/ionelmc/python-tblib'
+arch=('any')
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+source=(https://github.com/ionelmc/python-tblib/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('7338abe80d82e319643064848f6d1cbd32d80c0d444c6e8de0088d170ed6cd95')
+sha512sums=('955ccbeaade32b36681d66bff59c777a5dc03465b0e93d1de25f8f2156f485c82a0e6d9578b2a00b2e1b2c21ac182d86568b2b61221cf46a2196aa77b0fc3620')
+
+prepare() {
+  cp -ra ${pkgbase}-${pkgver}{,-py2}
+}
+
+check() {
+  (cd ${pkgbase}-${pkgver}
+    python setup.py test
+  )
+  (cd ${pkgbase}-${pkgver}-py2
+    python2 setup.py test
+  )
+}
+
+package_python-tblib() {
+  depends=('python-six')
+  cd ${pkgbase}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_python2-tblib() {
+  depends=('python2-six')
+  cd ${pkgbase}-${pkgver}-py2
+  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list