summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPellegrino Prevete2021-02-26 22:47:01 +0100
committerPellegrino Prevete2021-02-26 22:47:01 +0100
commit7e297ee7ffd471e6f3894e348d6bb2bd79ffdef8 (patch)
tree8b06fab39f076ad1b6be432449f62bf79164c8cf
parent88869750e2d88ba9a91a3909533c040b4d6d2f55 (diff)
downloadaur-7e297ee7ffd471e6f3894e348d6bb2bd79ffdef8.tar.gz
Drop python 2
-rw-r--r--PKGBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 84c9936fcd2a..897c32bb0e9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,18 @@
# Contributor: Ionut Biru <ibiru@archlinux.org>
-# Maintainer: Saeed Rasooli <saeed.gnu@gmail.com>
+# Contributor: Saeed Rasooli <saeed.gnu@gmail.com>
+# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
_pkgbase=pygobject
pkgbase=pygobject
-pkgname=(python-gobject-git python2-gobject-git pygobject-devel-git)
+pkgname=(python-gobject-git pygobject-devel-git)
pkgver=3.34.0+8+g15ae6328
-pkgrel=1
+pkgrel=2
pkgdesc="Python Bindings for GLib/GObject/GIO/GTK+"
url="https://wiki.gnome.org/Projects/PyGObject"
arch=(x86_64)
license=(LGPL)
depends=(gobject-introspection-runtime)
-makedepends=(python-cairo python2-cairo gobject-introspection git gnome-common)
+makedepends=(python-cairo gobject-introspection git gnome-common)
optdepends=('cairo: Cairo bindings')
source=("git+https://gitlab.gnome.org/GNOME/pygobject.git")
sha256sums=('SKIP')
@@ -31,7 +32,6 @@ _build() (
)
build() {
- _build 2
_build 3
}
@@ -46,18 +46,6 @@ package_python-gobject-git() {
mv "$pkgdir/usr/lib/pkgconfig/pygobject-3.0.pc" "$srcdir/devel"
}
-package_python2-gobject-git() {
- pkgdesc="${pkgdesc/Python/Python2}"
- depends=("pygobject-devel=$pkgver" python2)
- provides=("python2-gobject=$pkgver")
- conflicts=("python2-gobject")
-
- cd $_pkgbase
- python2 setup.py install --prefix="/usr/" --root="$pkgdir"
- mv "$pkgdir/usr/include/pygobject-3.0/pygobject.h" "$srcdir/devel"
- mv "$pkgdir/usr/lib/pkgconfig/pygobject-3.0.pc" "$srcdir/devel"
-}
-
package_pygobject-devel-git() {
pkgdesc="Common development files for pygobject"
provides=("pygobject-devel=$pkgver")