[arch-commits] Commit in python-utils/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, March 4, 2020 @ 17:05:19 Author: dvzrv Revision: 590304 archrelease: copy trunk to community-any Added: python-utils/repos/community-any/PKGBUILD (from rev 590303, python-utils/trunk/PKGBUILD) Deleted: python-utils/repos/community-any/PKGBUILD --+ PKGBUILD | 90 ++--- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-04 17:05:09 UTC (rev 590303) +++ PKGBUILD2020-03-04 17:05:19 UTC (rev 590304) @@ -1,45 +0,0 @@ -# Maintainer: David Runge -# Contributor: Maxim Andersson -# Contributor: NicoHood - -pkgdesc="A module with some convenient utilities not included with the standard Python install" -pkgname=python-utils -pkgver=2.3.0 -pkgrel=6 -url="https://github.com/WoLpH/python-utils"; -license=('BSD') -arch=('any') -depends=('python-six') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner') -source=("https://pypi.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}) -sha512sums=('482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a' -'SKIP') -validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem - -prepare() { - cd "${pkgname}-${pkgver}" - # don't care about custom pytest flags - rm -v pytest.ini -} - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build -} - -check() { - cd "${pkgname}-${pkgver}" - export PYTHONPATH="${PWD}/build:${PYTHONPATH}" - py.test -} - -package() { - cd "${pkgname}-${pkgver}" - python setup.py install --skip-build \ - --optimize=1 \ - --prefix=/usr \ - --root="${pkgdir}" - install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: python-utils/repos/community-any/PKGBUILD (from rev 590303, python-utils/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-04 17:05:19 UTC (rev 590304) @@ -0,0 +1,45 @@ +# Maintainer: David Runge +# Contributor: Maxim Andersson +# Contributor: NicoHood + +pkgdesc="A module with some convenient utilities not included with the standard Python install" +pkgname=python-utils +pkgver=2.4.0 +pkgrel=1 +url="https://github.com/WoLpH/python-utils"; +license=('BSD') +arch=('any') +depends=('python-six') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("https://pypi.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}) +sha512sums=('bfad0ef30383df634b89bb2206a00e45434eff9fee9ba0eeab99361bacfb56f3fb420019608b639713a7e8777870de75becb1d7b48aa09c582df27f9ebe8c512' +'SKIP') +validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem + +prepare() { + cd "${pkgname}-${pkgver}" + # don't care about custom pytest flags + rm -v pytest.ini +} + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +check() { + cd "${pkgname}-${pkgver}" + export PYTHONPATH="${PWD}/build:${PYTHONPATH}" + pytest -v +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +}
[arch-commits] Commit in python-utils/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, August 27, 2019 @ 16:14:57 Author: dvzrv Revision: 503311 archrelease: copy trunk to community-any Added: python-utils/repos/community-any/PKGBUILD (from rev 503310, python-utils/trunk/PKGBUILD) Deleted: python-utils/repos/community-any/PKGBUILD --+ PKGBUILD | 101 +++-- 1 file changed, 45 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-08-27 16:14:51 UTC (rev 503310) +++ PKGBUILD2019-08-27 16:14:57 UTC (rev 503311) @@ -1,56 +0,0 @@ -# Maintainer: Maxim Andersson -# Co-Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -_pkgname=python-utils -_pypiname=python-utils -pkgbase=python-utils -pkgdesc="A module with some convenient utilities not included with the standard Python install" -pkgname=('python-utils' 'python2-utils') -pkgver=2.3.0 -pkgrel=3 -url="https://github.com/WoLpH/python-utils"; -license=('BSD') -arch=("any") -# pytest-runner needed as makedepends because it is in setup_requires, move to checkdepends for next release -makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python-pytest-runner' 'python2-pytest-runner') -source=("https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"{,.asc}) -sha512sums=('482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a' -'SKIP') -validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem - -prepare() { -cd "${srcdir}"/${_pypiname}-${pkgver} -# don't force flakes/pep8 checks when packaging -sed -i '/addopts/,/--flakes/d' pytest.ini -# sources include broken pyc from the developer's machine -find tests/ -name '*.pyc' -delete -} - -build() { -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py build -python2 setup.py build -} - -check() { -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py pytest -python2 setup.py pytest -} - -package_python-utils() { -depends=('python' 'python-six') - -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py install --skip-build --root="${pkgdir}" --optimize=1 -install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -package_python2-utils() { -depends=('python2' 'python2-six') - -cd "${srcdir}/${_pypiname}-${pkgver}" -python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 -install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python-utils/repos/community-any/PKGBUILD (from rev 503310, python-utils/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-08-27 16:14:57 UTC (rev 503311) @@ -0,0 +1,45 @@ +# Maintainer: David Runge +# Contributor: Maxim Andersson +# Contributor: NicoHood + +pkgdesc="A module with some convenient utilities not included with the standard Python install" +pkgname=python-utils +pkgver=2.3.0 +pkgrel=4 +url="https://github.com/WoLpH/python-utils"; +license=('BSD') +arch=('any') +depends=('python-six') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("https://pypi.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}) +sha512sums=('482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a' +'SKIP') +validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem + +prepare() { + cd "${pkgname}-${pkgver}" + # don't care about custom pytest flags + rm -v pytest.ini +} + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +check() { + cd "${pkgname}-${pkgver}" + export PYTHONPATH="${PWD}/build:${PYTHONPATH}" + py.test +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --skip-build \ + --optimize=1 \ + --prefix=/usr \ + --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" +}
[arch-commits] Commit in python-utils/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, January 1, 2019 @ 22:23:10 Author: eschwartz Revision: 420241 archrelease: copy trunk to community-any Added: python-utils/repos/community-any/PKGBUILD (from rev 420240, python-utils/trunk/PKGBUILD) Deleted: python-utils/repos/community-any/PKGBUILD --+ PKGBUILD | 104 - 1 file changed, 56 insertions(+), 48 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-01 22:22:55 UTC (rev 420240) +++ PKGBUILD2019-01-01 22:23:10 UTC (rev 420241) @@ -1,48 +0,0 @@ -# Maintainer: Maxim Andersson -# Co-Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -_pkgname=python-utils -_pypiname=python-utils -pkgbase=python-utils -pkgdesc="A module with some convenient utilities not included with the standard Python install" -pkgname=('python-utils' 'python2-utils') -pkgver=2.3.0 -pkgrel=2 -url="https://github.com/WoLpH/python-utils"; -license=('BSD') -arch=("any") -makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools') -source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"; - "${_pkgname}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz.asc";) -sha512sums=('482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a' -'SKIP') -validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem - -prepare() { -cp -a "${srcdir}/${_pypiname}-${pkgver}"{,-py2} -} - -build() { -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py build - -cd "${srcdir}/${_pypiname}-${pkgver}-py2" -python2 setup.py build -} - -package_python-utils() { -depends=('python' 'python-six') - -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py install --skip-build --root="${pkgdir}" --optimize=1 -install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -package_python2-utils() { -depends=('python2' 'python2-six') - -cd "${srcdir}/${_pypiname}-${pkgver}-py2" -python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 -install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python-utils/repos/community-any/PKGBUILD (from rev 420240, python-utils/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-01 22:23:10 UTC (rev 420241) @@ -0,0 +1,56 @@ +# Maintainer: Maxim Andersson +# Co-Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +_pkgname=python-utils +_pypiname=python-utils +pkgbase=python-utils +pkgdesc="A module with some convenient utilities not included with the standard Python install" +pkgname=('python-utils' 'python2-utils') +pkgver=2.3.0 +pkgrel=3 +url="https://github.com/WoLpH/python-utils"; +license=('BSD') +arch=("any") +# pytest-runner needed as makedepends because it is in setup_requires, move to checkdepends for next release +makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python-pytest-runner' 'python2-pytest-runner') +source=("https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"{,.asc}) +sha512sums=('482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a' +'SKIP') +validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem + +prepare() { +cd "${srcdir}"/${_pypiname}-${pkgver} +# don't force flakes/pep8 checks when packaging +sed -i '/addopts/,/--flakes/d' pytest.ini +# sources include broken pyc from the developer's machine +find tests/ -name '*.pyc' -delete +} + +build() { +cd "${srcdir}/${_pypiname}-${pkgver}" +python setup.py build +python2 setup.py build +} + +check() { +cd "${srcdir}/${_pypiname}-${pkgver}" +python setup.py pytest +python2 setup.py pytest +} + +package_python-utils() { +depends=('python' 'python-six') + +cd "${srcdir}/${_pypiname}-${pkgver}" +python setup.py install --skip-build --root="${pkgdir}" --optimize=1 +install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python2-utils() { +depends=('python2' 'python2-six') + +cd "${srcdir}/${_pypiname}-${pkgver}" +python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 +install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in python-utils/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, February 14, 2018 @ 18:19:47 Author: nicohood Revision: 294461 archrelease: copy trunk to community-any Added: python-utils/repos/community-any/PKGBUILD (from rev 294460, python-utils/trunk/PKGBUILD) Deleted: python-utils/repos/community-any/PKGBUILD --+ PKGBUILD | 96 ++--- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-02-14 18:19:30 UTC (rev 294460) +++ PKGBUILD2018-02-14 18:19:47 UTC (rev 294461) @@ -1,48 +0,0 @@ -# Maintainer: Maxim Andersson -# Co-Maintainer: NicoHood -# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 - -_pkgname=python-utils -_pypiname=python-utils -pkgbase=python-utils -pkgdesc="A module with some convenient utilities not included with the standard Python install" -pkgname=('python-utils' 'python2-utils') -pkgver=2.2.0 -pkgrel=1 -url="https://github.com/WoLpH/python-utils"; -license=('BSD') -arch=("any") -makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools') -source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"; - "${_pkgname}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz.asc";) -sha512sums=('02b3b7f3ebdab8b8f82221634336e1e54ebee58e2b3a8348cbad218ff8a1b55efdace5df8dd105d77b6eecbf30876e7b4bca3ca7cda7b34c10993741dda8570e' -'SKIP') -validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem - -prepare() { -cp -a "${srcdir}/${_pypiname}-${pkgver}"{,-py2} -} - -build() { -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py build - -cd "${srcdir}/${_pypiname}-${pkgver}-py2" -python2 setup.py build -} - -package_python-utils() { -depends=('python' 'python-six') - -cd "${srcdir}/${_pypiname}-${pkgver}" -python setup.py install --skip-build --root="${pkgdir}" --optimize=1 -install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -package_python2-utils() { -depends=('python2' 'python2-six') - -cd "${srcdir}/${_pypiname}-${pkgver}-py2" -python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 -install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python-utils/repos/community-any/PKGBUILD (from rev 294460, python-utils/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-02-14 18:19:47 UTC (rev 294461) @@ -0,0 +1,48 @@ +# Maintainer: Maxim Andersson +# Co-Maintainer: NicoHood +# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 + +_pkgname=python-utils +_pypiname=python-utils +pkgbase=python-utils +pkgdesc="A module with some convenient utilities not included with the standard Python install" +pkgname=('python-utils' 'python2-utils') +pkgver=2.3.0 +pkgrel=1 +url="https://github.com/WoLpH/python-utils"; +license=('BSD') +arch=("any") +makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools') +source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz"; + "${_pkgname}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz.asc";) +sha512sums=('482ccf9c635a0cbe603b69488a364d9033f8b7fada279d901725b5bf91ac13b1cd4a6b7e8d5834a9355d97d8b0803397d5e13da2b7ba72f8d8e2f7f39fee027a' +'SKIP') +validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem + +prepare() { +cp -a "${srcdir}/${_pypiname}-${pkgver}"{,-py2} +} + +build() { +cd "${srcdir}/${_pypiname}-${pkgver}" +python setup.py build + +cd "${srcdir}/${_pypiname}-${pkgver}-py2" +python2 setup.py build +} + +package_python-utils() { +depends=('python' 'python-six') + +cd "${srcdir}/${_pypiname}-${pkgver}" +python setup.py install --skip-build --root="${pkgdir}" --optimize=1 +install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_python2-utils() { +depends=('python2' 'python2-six') + +cd "${srcdir}/${_pypiname}-${pkgver}-py2" +python2 setup.py install --skip-build --root="${pkgdir}" --optimize=1 +install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}