[arch-commits] Commit in python-pkgconfig/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Apr 1 20:31:47 UTC 2019


    Date: Monday, April 1, 2019 @ 20:31:45
  Author: arojas
Revision: 447068

Update to 1.5.1

Modified:
  python-pkgconfig/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-01 20:27:51 UTC (rev 447067)
+++ PKGBUILD	2019-04-01 20:31:45 UTC (rev 447068)
@@ -2,25 +2,19 @@
 
 pkgbase=python-pkgconfig
 pkgname=(python2-pkgconfig python-pkgconfig)
-pkgver=1.5.0
+pkgver=1.5.1
 pkgrel=1
 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 poetry)
-source=($pkgbase-$pkgver.tar.gz::"https://github.com/matze/pkgconfig/archive/v$pkgver.tar.gz")
-sha256sums=('05c0735821964dfc6814c2926e293afa2b1c55d3fdb93882a3ec7f4e6dad32c3')
+makedepends=(python-setuptools python2-setuptools)
+source=("https://pypi.io/packages/source/p/pkgconfig/pkgconfig-$pkgver.tar.gz")
+sha256sums=('97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f')
 
-prepare() {
-  cd pkgconfig-$pkgver
-  poetry build
-  tar -xzf dist/pkgconfig-$pkgver.tar.gz
-}
-
 package_python2-pkgconfig() {
   depends=(python2)
-  cd pkgconfig-$pkgver/pkgconfig-$pkgver
+  cd pkgconfig-$pkgver
 
   python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
@@ -28,7 +22,7 @@
 
 package_python-pkgconfig() {
   depends=(python)
-  cd pkgconfig-$pkgver/pkgconfig-$pkgver
+  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