Date: Monday, December 6, 2021 @ 20:50:23 Author: arojas Revision: 1065375
Update to 1.0.3 Modified: python-dephell-markers/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-06 20:46:34 UTC (rev 1065374) +++ PKGBUILD 2021-12-06 20:50:23 UTC (rev 1065375) @@ -2,8 +2,8 @@ _pkgname=dephell_markers pkgname=python-dephell-markers -pkgver=1.0.1 -pkgrel=8 +pkgver=1.0.3 +pkgrel=1 pkgdesc="Work with environment markers (PEP-496)" arch=('any') url="https://github.com/dephell/${_pkgname}" @@ -12,11 +12,11 @@ makedepends=('python-setuptools') checkdepends=('python-pytest') source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('a9fcf0a4acb59e9fe261d3304a25f33b4b743598f83825888ab0359b75e5e96f') -b2sums=('f5dbc8d8851de24e447f7aa1d1c2022b1cb5ce42ed2ab7319fc7b065ab68de46f8a38cbefe94e46096deca42f7136e9a5a0af8a44c5ce19bcd5808c59e7ba17f') +sha256sums=('525e17914e705acf8652dd8681fccdec912432a747d8def4720f49416817f2d4') +b2sums=('e0d3f64cfb0b96a1c18c43c1d050d23477c2e7e6b00142e53d742cdfe8e9d6c8172c91a97c8607e220b34268976ecb2611aa617fbd3319117e9d3782ada2fac2') prepare() { - cd "${srcdir}"/${_pkgname}-${pkgver} + cd ${_pkgname}-${pkgver} # pycache slipped into release tarballs find . -name \*.pyc -delete @@ -23,19 +23,19 @@ } build(){ - cd "${srcdir}"/${_pkgname}-${pkgver} + cd ${_pkgname}-${pkgver} python setup.py build } check() { - cd "${srcdir}"/${_pkgname}-${pkgver} + cd ${_pkgname}-${pkgver} python -m pytest } package() { - cd "${srcdir}"/${_pkgname}-${pkgver} + cd ${_pkgname}-${pkgver} python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE