[arch-commits] Commit in python-pandocfilters/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Oct 31 21:09:42 UTC 2019
Date: Thursday, October 31, 2019 @ 21:09:41
Author: jelle
Revision: 521721
remove python2 packages
Modified:
python-pandocfilters/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 20:29:04 UTC (rev 521720)
+++ PKGBUILD 2019-10-31 21:09:41 UTC (rev 521721)
@@ -2,8 +2,7 @@
# Contributor: <gmail.com: Jesse Jaara>
# Contributor: Gabriel Laskar <gabriel at lse.epita.fr>
-pkgbase=python-pandocfilters
-pkgname=(python-pandocfilters python2-pandocfilters)
+pkgname=python-pandocfilters
pkgver=1.4.2
pkgrel=4
pkgdesc="A python module for writing pandoc filters"
@@ -11,26 +10,13 @@
url="https://pypi.python.org/pypi/pandocfilters"
license=('BSD')
depends=('python')
-makedepends=('python2')
source=("https://pypi.io/packages/source/p/pandocfilters/pandocfilters-${pkgver}.tar.gz")
md5sums=('dc391791ef54c7de1572d7b46b63361f')
-prepare() {
- cd "$srcdir"
- cp -r "pandocfilters-$pkgver" "py2-pandocfilters-$pkgver"
-}
-
-package_python-pandocfilters() {
+package() {
cd "$srcdir/pandocfilters-$pkgver"
python3 setup.py install --root="$pkgdir/" --optimize=0
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-package_python2-pandocfilters() {
- depends=('python2')
- cd "$srcdir/py2-pandocfilters-$pkgver"
- python2 setup.py install --root="$pkgdir/" --optimize=0
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list