Date: Thursday, December 2, 2021 @ 23:41:37 Author: felixonmars Revision: 1063258
archrelease: copy trunk to community-staging-any Added: python-unidiff/repos/community-staging-any/PKGBUILD (from rev 1063257, python-unidiff/trunk/PKGBUILD) Deleted: python-unidiff/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-02 23:41:29 UTC (rev 1063257) +++ PKGBUILD 2021-12-02 23:41:37 UTC (rev 1063258) @@ -1,31 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> -# Contributor: xiretza <xiretza+...@xiretza.xyz> -# Contributor: Adhityaa Chandrasekar <c.adhit...@gmail.com> - -pkgname=python-unidiff -pkgver=0.7.0 -pkgrel=2 -pkgdesc='Simple Python library to parse and interact with unified diff data' -arch=('any') -url="https://github.com/matiasb/python-unidiff" -license=('MIT') -depends=('python') -makedepends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/u/unidiff/unidiff-$pkgver.tar.gz") -sha256sums=('91bb13b4969514a400679d9ae5e29a6ffad85346087677f8b5e2e036af817447') - -build() { - cd unidiff-$pkgver - python setup.py build -} - -check() { - cd unidiff-$pkgver - python -m unittest discover -s tests -} - -package() { - cd unidiff-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-unidiff/repos/community-staging-any/PKGBUILD (from rev 1063257, python-unidiff/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-02 23:41:37 UTC (rev 1063258) @@ -0,0 +1,31 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> +# Contributor: xiretza <xiretza+...@xiretza.xyz> +# Contributor: Adhityaa Chandrasekar <c.adhit...@gmail.com> + +pkgname=python-unidiff +pkgver=0.7.0 +pkgrel=3 +pkgdesc='Simple Python library to parse and interact with unified diff data' +arch=('any') +url="https://github.com/matiasb/python-unidiff" +license=('MIT') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/u/unidiff/unidiff-$pkgver.tar.gz") +sha256sums=('91bb13b4969514a400679d9ae5e29a6ffad85346087677f8b5e2e036af817447') + +build() { + cd unidiff-$pkgver + python setup.py build +} + +check() { + cd unidiff-$pkgver + python -m unittest discover -s tests +} + +package() { + cd unidiff-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}