Date: Tuesday, March 30, 2021 @ 14:55:11 Author: jelle Revision: 910496
archrelease: copy trunk to community-any Added: python-mistune/repos/community-any/PKGBUILD (from rev 910495, python-mistune/trunk/PKGBUILD) Deleted: python-mistune/repos/community-any/PKGBUILD ----------+ PKGBUILD | 59 +++++++++++++++++++++++------------------------------------ 1 file changed, 23 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-30 14:55:06 UTC (rev 910495) +++ PKGBUILD 2021-03-30 14:55:11 UTC (rev 910496) @@ -1,36 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: shmilee - -pkgbase=python-mistune -_pkgname=mistune -pkgname=('python-mistune' 'python2-mistune') -pkgver=0.8.4 -pkgrel=5 -pkgdesc="The fastest markdown parser in pure Python with renderer feature." -arch=('any') -url="https://github.com/lepture/mistune" -license=('BSD') -depends=('python') -makedepends=('python-setuptools' 'python2-setuptools') -source=("$pkgbase-$pkgver.tgz::https://github.com/lepture/mistune/archive/v${pkgver}.tar.gz") -md5sums=('22fc9ea84220214a2b9b2b5b4213e209') - -prepare() { - cd "$srcdir" - cp -r "$srcdir/$_pkgname-$pkgver" "$srcdir/${_pkgname}2-$pkgver" -} - -package_python-mistune() { - cd "$srcdir/${_pkgname}-$pkgver" - python setup.py install --root="$pkgdir/" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-mistune/LICENSE" -} - -package_python2-mistune() { - depends=('python2') - cd "$srcdir/${_pkgname}2-$pkgver" - python2 setup.py install --root="$pkgdir/" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-mistune/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: python-mistune/repos/community-any/PKGBUILD (from rev 910495, python-mistune/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-30 14:55:11 UTC (rev 910496) @@ -0,0 +1,23 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: shmilee + +_pkgname=mistune +pkgname=python-mistune +pkgver=0.8.4 +pkgrel=6 +pkgdesc="The fastest markdown parser in pure Python with renderer feature." +arch=('any') +url="https://github.com/lepture/mistune" +license=('BSD') +depends=('python') +makedepends=('python-setuptools') +source=("$pkgbase-$pkgver.tgz::https://github.com/lepture/mistune/archive/v${pkgver}.tar.gz") +md5sums=('22fc9ea84220214a2b9b2b5b4213e209') + +package() { + cd "$srcdir/${_pkgname}-$pkgver" + python setup.py install --root="$pkgdir/" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-mistune/LICENSE" +} + +# vim:set ts=2 sw=2 et: