Date: Monday, January 24, 2022 @ 19:23:53 Author: alerque Revision: 1114874
archrelease: copy trunk to community-any Added: python-dephell-setuptools/repos/community-any/PKGBUILD (from rev 1114873, python-dephell-setuptools/trunk/PKGBUILD) Deleted: python-dephell-setuptools/repos/community-any/PKGBUILD ----------+ PKGBUILD | 79 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 38 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-24 19:23:41 UTC (rev 1114873) +++ PKGBUILD 2022-01-24 19:23:53 UTC (rev 1114874) @@ -1,41 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> - -_pkgname=dephell_setuptools -pkgname=python-dephell-setuptools -pkgver=0.2.4 -pkgrel=3 -pkgdesc="Extract meta information from setup.py" -arch=('any') -url="https://github.com/dephell/${_pkgname}" -license=('MIT') -depends=('python-setuptools') -checkdepends=('python-pytest') -source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -sha256sums=('663629e1ebf7b20bf7e372ee2a2e7ebf1a15aeb3bc6d46ad32e1bcb21044ca29') -b2sums=('db637f00d59e931c9604a5f5755a9987d00771bc601fd3f8af39876320ddaeeea668e08fd66bfba3c61636dfb945e13986f6b4a205952e596701f8fd223b3135') - -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-setuptools/repos/community-any/PKGBUILD (from rev 1114873, python-dephell-setuptools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-24 19:23:53 UTC (rev 1114874) @@ -0,0 +1,38 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Eli Schwartz <eschwa...@archlinux.org> + +pkgname=python-dephell-setuptools +_pyname=dephell_setuptools +pkgver=0.2.4 +pkgrel=4 +pkgdesc='Extract meta information from setup.py' +arch=(any) +url="https://github.com/dephell/$_pyname" +license=(MIT) +depends=(python-setuptools) +checkdepends=(python-pytest) +_archive="$_pyname-$pkgver" +source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_archive.tar.gz") +sha256sums=('663629e1ebf7b20bf7e372ee2a2e7ebf1a15aeb3bc6d46ad32e1bcb21044ca29') + +prepare() { + cd "$_archive" + # pycache slipped into release tarballs + find . -name \*.pyc -delete +} + +build(){ + cd "$_archive" + python setup.py build +} + +check() { + cd "$_archive" + python -m pytest +} + +package() { + cd "$_archive" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +}