Date: Friday, September 2, 2022 @ 19:28:27 Author: felixonmars Revision: 1290971
archrelease: copy trunk to community-any Added: python-path/repos/community-any/PKGBUILD (from rev 1290970, python-path/trunk/PKGBUILD) Deleted: python-path/repos/community-any/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-02 19:28:14 UTC (rev 1290970) +++ PKGBUILD 2022-09-02 19:28:27 UTC (rev 1290971) @@ -1,35 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-path -pkgver=16.4.0 -pkgrel=1 -pkgdesc='A module wrapper for os.path' -arch=('any') -license=('MIT') -url='https://github.com/jaraco/path' -depends=('python') -makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') -checkdepends=('python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-mypy') -replaces=('python-path.py') -conflicts=('python-path.py') -provides=('python-path.py') -source=("https://github.com/jaraco/path/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('fefb50da55ad77cdb61c7c4a05eeffaae9f6db349ce0b75d5e37ca8e3152deff19c6c1556e9efbe7faeaf569342a670fc360a4e650e65f509a68a62130d7d093') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd path-$pkgver - python -m build --wheel --no-isolation -} - -check() { - cd path-$pkgver - python -m pytest -} - -package() { - cd path-$pkgver - python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-path/repos/community-any/PKGBUILD (from rev 1290970, python-path/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-02 19:28:27 UTC (rev 1290971) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-path +pkgver=16.4.0 +pkgrel=2 +pkgdesc='A module wrapper for os.path' +arch=('any') +license=('MIT') +url='https://github.com/jaraco/path' +depends=('python') +makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') +checkdepends=('python-pytest-mypy') +replaces=('python-path.py') +conflicts=('python-path.py') +provides=('python-path.py') +source=("https://github.com/jaraco/path/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('fefb50da55ad77cdb61c7c4a05eeffaae9f6db349ce0b75d5e37ca8e3152deff19c6c1556e9efbe7faeaf569342a670fc360a4e650e65f509a68a62130d7d093') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd path-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd path-$pkgver + python -m pytest +} + +package() { + cd path-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}