[arch-commits] Commit in python-tblib/trunk (PKGBUILD)

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


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

upgpkg: python-tblib 1.4.0-1

Modified:
  python-tblib/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-12 18:46:08 UTC (rev 480994)
+++ PKGBUILD	2019-06-12 18:46:42 UTC (rev 480995)
@@ -3,16 +3,16 @@
 pkgbase=python-tblib
 pkgname=('python-tblib' 'python2-tblib')
 _pyname=tblib
-pkgver=1.3.2
-pkgrel=2
+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=(${pkgbase}-${pkgver}.tar.gz::https://github.com/ionelmc/python-tblib/archive/v${pkgver}.tar.gz)
-sha256sums=('6eec32b8bac0a30a5a079add4983653da5fa717e986a9c304cd9c7273d3c29bc')
-sha512sums=('68f338024c574b2cc6bd144c2e1ade23f2e4f37866d81640ec655aea43f736156eca52728bfb6797caa6723c45ee62328172490ac6387be150c5d28d99f62784')
+source=(https://github.com/ionelmc/python-tblib/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('7338abe80d82e319643064848f6d1cbd32d80c0d444c6e8de0088d170ed6cd95')
+sha512sums=('955ccbeaade32b36681d66bff59c777a5dc03465b0e93d1de25f8f2156f485c82a0e6d9578b2a00b2e1b2c21ac182d86568b2b61221cf46a2196aa77b0fc3620')
 
 prepare() {
   cp -ra ${pkgbase}-${pkgver}{,-py2}
@@ -31,8 +31,8 @@
   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"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 
 package_python2-tblib() {
@@ -39,8 +39,8 @@
   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"
+  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