Date: Tuesday, December 31, 2019 @ 14:13:36 Author: eschwartz Revision: 545640
archrelease: copy trunk to community-any Added: python-dephell-pythons/repos/community-any/PKGBUILD (from rev 545639, python-dephell-pythons/trunk/PKGBUILD) Deleted: python-dephell-pythons/repos/community-any/PKGBUILD ----------+ PKGBUILD | 77 +++++++++++++++++++++++++++---------------------------------- 1 file changed, 35 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-31 14:13:13 UTC (rev 545639) +++ PKGBUILD 2019-12-31 14:13:36 UTC (rev 545640) @@ -1,42 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> - -_pkgname=dephell_pythons -pkgname=python-dephell-pythons -pkgver=0.1.12 -pkgrel=3 -pkgdesc="Work with python versions" -arch=('any') -url="https://github.com/dephell/${_pkgname}" -license=('MIT') -depends=('python-attrs' 'python-dephell-specifier' 'python-packaging') -makedepends=('python-setuptools') -checkdepends=('python-pytest') -source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('6831c41204d6487dc2a1042ea2dc4ae57dbf36cf58d24b247eb2bf31b310d8a5') -b2sums=('4bf5f8fa9cf0201be9e09ae56fa196c2920959733f976e9cad5e02cb8f3b2638509caa9efdfea285424ee6e45243ff6c5dbdf85cea7d0f8d2eb94980feb33853') - -prepare() { - cd "${srcdir}"/${_pkgname}-${pkgver} - - # pycache slipped into release tarballs - find . -name \*.pyc -delete -} - -build(){ - cd "${srcdir}"/${_pkgname}-${pkgver} - - python setup.py build -} - -check() { - cd "${srcdir}"/${_pkgname}-${pkgver} - - python -m pytest -} - -package() { - cd "${srcdir}"/${_pkgname}-${pkgver} - - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} Copied: python-dephell-pythons/repos/community-any/PKGBUILD (from rev 545639, python-dephell-pythons/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-31 14:13:36 UTC (rev 545640) @@ -0,0 +1,35 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> + +_pkgname=dephell_pythons +pkgname=python-dephell-pythons +pkgver=0.1.14 +pkgrel=1 +pkgdesc="Work with python versions" +arch=('any') +url="https://github.com/dephell/${_pkgname}" +license=('MIT') +depends=('python-attrs' 'python-dephell-specifier' 'python-packaging') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('a2da1ba905084f0935392be6e1fee019b98f45439429e45278a181174cff93a9') +b2sums=('e705f239cea702690607409e45ab766c4766ea13c3c3b2854b3ccddb33a40f9cacf70a744dc8a2339f86070045eba12f9b4e3292eb39d4ad893550d841262151') + +build(){ + cd "${srcdir}"/${_pkgname}-${pkgver} + + python setup.py build +} + +check() { + cd "${srcdir}"/${_pkgname}-${pkgver} + + python -m pytest +} + +package() { + cd "${srcdir}"/${_pkgname}-${pkgver} + + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}