Date: Wednesday, July 10, 2019 @ 00:32:17 Author: eschwartz Revision: 488322
archrelease: copy trunk to community-any Added: python-dephell-specifier/repos/community-any/PKGBUILD (from rev 488321, python-dephell-specifier/trunk/PKGBUILD) Deleted: python-dephell-specifier/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-10 00:31:57 UTC (rev 488321) +++ PKGBUILD 2019-07-10 00:32:17 UTC (rev 488322) @@ -1,42 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> - -_pkgname=dephell_specifier -pkgname=python-dephell-specifier -pkgver=0.1.7 -pkgrel=1 -pkgdesc="Work with version specifiers" -arch=('any') -url="https://github.com/dephell/${_pkgname}" -license=('MIT') -depends=('python-packaging') -makedepends=('python-setuptools') -checkdepends=('python-pytest') -source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('5e7235ec357fcd4c6e038b4c1996a9564374d36edb2223bf81f9ac41df3c22e0') -b2sums=('e154a7041b73552a8357fbe371e1aae82b2a254f94b391fe48479391242a172dbe7f770cb4c9305ea833534dfa8f197c9912bda468b6abd26b57d500513d5e9c') - -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-specifier/repos/community-any/PKGBUILD (from rev 488321, python-dephell-specifier/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-10 00:32:17 UTC (rev 488322) @@ -0,0 +1,42 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> + +_pkgname=dephell_specifier +pkgname=python-dephell-specifier +pkgver=0.2.1 +pkgrel=1 +pkgdesc="Work with version specifiers" +arch=('any') +url="https://github.com/dephell/${_pkgname}" +license=('MIT') +depends=('python-packaging') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('c2ec7e62a2406960e19eb6db0f11918d82af64995ee1f26fe00d013791ae9758') +b2sums=('8ede7f342e841f430c6ba58f8c43cae3b6c5e2607fcb71d8cdca1237009ed5022f83de419e59bfc1c94eaec6e8a7be59bd753fcda185bec70cc4f282303002c0') + +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 +}