Date: Wednesday, July 10, 2019 @ 00:36:53 Author: eschwartz Revision: 488324
archrelease: copy trunk to community-any Added: python-dephell-markers/repos/community-any/PKGBUILD (from rev 488323, python-dephell-markers/trunk/PKGBUILD) Deleted: python-dephell-markers/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-10 00:35:12 UTC (rev 488323) +++ PKGBUILD 2019-07-10 00:36:53 UTC (rev 488324) @@ -1,42 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> - -_pkgname=dephell_markers -pkgname=python-dephell-markers -pkgver=0.2.6 -pkgrel=1 -pkgdesc="Work with environment markers (PEP-496)" -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=('fe4cb15a060973a58186b8bb0325b8d0a62cb14a31dbc3ee4a687dc619eb0685') -b2sums=('3e55af5fdfd3a1050f8c97160223acc9a19e8ba8c256743eb3310d18dd258282f3db5100df3177514e27f8fbcf79d487f0467a202b775248f9f09218b58539e0') - -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-markers/repos/community-any/PKGBUILD (from rev 488323, python-dephell-markers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-10 00:36:53 UTC (rev 488324) @@ -0,0 +1,42 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> + +_pkgname=dephell_markers +pkgname=python-dephell-markers +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Work with environment markers (PEP-496)" +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=('0388c16d9752e8a2c28975560829326578180339a8a392f73eb699f5c502c46d') +b2sums=('394ce569e9cf1c7db26b54bed7588a35168c3b5fd085a2129da23912bf1db833ed49d273d7569480e99d50a28d416ca18b6308880ace1a78d6f5cda181f09168') + +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 +}