Date: Thursday, May 18, 2023 @ 14:19:41 Author: alerque Revision: 1463074
archrelease: copy trunk to community-any Added: python-pandocfilters/repos/community-any/PKGBUILD (from rev 1463073, python-pandocfilters/trunk/PKGBUILD) Deleted: python-pandocfilters/repos/community-any/PKGBUILD ----------+ PKGBUILD | 53 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 23 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 14:19:30 UTC (rev 1463073) +++ PKGBUILD 2023-05-18 14:19:41 UTC (rev 1463074) @@ -1,23 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: <gmail.com: Jesse Jaara> -# Contributor: Gabriel Laskar <gabr...@lse.epita.fr> - -pkgname=python-pandocfilters -pkgver=1.5.0 -pkgrel=2 -pkgdesc="A python module for writing pandoc filters" -arch=('any') -url="https://pypi.python.org/pypi/pandocfilters" -license=('BSD') -depends=('python') -makedepends=('python-setuptools') -source=("https://pypi.io/packages/source/p/pandocfilters/pandocfilters-${pkgver}.tar.gz") -sha256sums=('0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38') - -package() { - cd "$srcdir/pandocfilters-$pkgver" - python3 setup.py install --root="$pkgdir/" --optimize=0 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: python-pandocfilters/repos/community-any/PKGBUILD (from rev 1463073, python-pandocfilters/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 14:19:41 UTC (rev 1463074) @@ -0,0 +1,30 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Kyle Keen <keen...@gmail.com> +# Contributor: <gmail.com: Jesse Jaara> +# Contributor: Gabriel Laskar <gabr...@lse.epita.fr> + +pkgname=python-pandocfilters +_pkgname="${pkgname#python-}" +pkgver=1.5.0 +pkgrel=3 +pkgdesc='A python module for writing pandoc filters' +arch=(any) +url='https://github.com/jgm/pandocfilters' +license=(BSD) +depends=(python) +makedepends=(python-{build,installer,wheel} + python-setuptools) +_archive="$_pkgname-$pkgver" +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$_pkgname/$_archive.tar.gz") +sha256sums=('0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38') + +build() { + cd "$_archive" + python -m build -wn +} + +package() { + cd "$_archive" + python -m installer -d "$pkgdir/" dist/*.whl + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +}