Date: Friday, November 1, 2019 @ 15:01:26 Author: foutrelis Revision: 522042
archrelease: copy trunk to community-staging-any Added: python-tblib/repos/community-staging-any/PKGBUILD (from rev 522041, python-tblib/trunk/PKGBUILD) Deleted: python-tblib/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-01 15:01:21 UTC (rev 522041) +++ PKGBUILD 2019-11-01 15:01:26 UTC (rev 522042) @@ -1,46 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgbase=python-tblib -pkgname=('python-tblib' 'python2-tblib') -_pyname=tblib -pkgver=1.4.0 -pkgrel=3 -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: Copied: python-tblib/repos/community-staging-any/PKGBUILD (from rev 522041, python-tblib/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-01 15:01:26 UTC (rev 522042) @@ -0,0 +1,46 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgbase=python-tblib +pkgname=('python-tblib' 'python2-tblib') +_pyname=tblib +pkgver=1.5.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=('583527ec61e2abb949b702d46dd7059354975c18a2ecc45130e4938905df258c') +sha512sums=('33b6160401d3593e3b836cd9468ddf7246c84f77eb01118788ad4dc3f3af32c1796d09fa9347c956da1fcc4c48245b794247a28c900072f35564eb8abfdc3275') + +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: