[arch-commits] Commit in python-pkgconfig/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Feb 17 20:49:01 UTC 2020
Date: Monday, February 17, 2020 @ 20:49:01
Author: arojas
Revision: 574618
Drop python2
Modified:
python-pkgconfig/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-17 20:47:35 UTC (rev 574617)
+++ PKGBUILD 2020-02-17 20:49:01 UTC (rev 574618)
@@ -1,28 +1,19 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
-pkgbase=python-pkgconfig
-pkgname=(python2-pkgconfig python-pkgconfig)
+pkgname=python-pkgconfig
pkgver=1.5.1
-pkgrel=3
+pkgrel=4
pkgdesc="Python module to interface with the pkg-config command line tool"
arch=(any)
url="https://github.com/matze/pkgconfig"
license=(MIT)
-makedepends=(python-setuptools python2-setuptools)
+depends=(python)
+makedepends=(python-setuptools)
source=("https://pypi.io/packages/source/p/pkgconfig/pkgconfig-$pkgver.tar.gz")
sha256sums=('97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f')
-package_python2-pkgconfig() {
- depends=(python2)
+package() {
cd pkgconfig-$pkgver
-
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pkgconfig() {
- depends=(python)
- cd pkgconfig-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
More information about the arch-commits
mailing list