[arch-commits] Commit in nautilus-python/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Tue Jan 9 22:07:11 UTC 2018
Date: Tuesday, January 9, 2018 @ 22:07:10
Author: bgyorgy
Revision: 280780
archrelease: copy trunk to community-x86_64
Added:
nautilus-python/repos/community-x86_64/PKGBUILD
(from rev 280779, nautilus-python/trunk/PKGBUILD)
Deleted:
nautilus-python/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-09 22:07:05 UTC (rev 280779)
+++ PKGBUILD 2018-01-09 22:07:10 UTC (rev 280780)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Giorgio Gilestro <giorgio at gilest.ro>
-
-pkgbase=nautilus-python
-pkgname=('python-nautilus' 'python2-nautilus')
-pkgver=1.2.1
-pkgrel=1
-pkgdesc="Python bindings for the Nautilus Extension API"
-arch=('x86_64')
-url="https://wiki.gnome.org/Projects/NautilusPython"
-license=('GPL')
-depends=('nautilus' 'python-gobject' 'python2-gobject')
-source=(https://download.gnome.org/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-sha256sums=('36f98a8cc191b4ffcbcd7835eb80f99f39095b221c0ab65b4c84a859f9a9b10f')
-
-prepare() {
- cd $pkgbase-$pkgver
- autoreconf -fi
-}
-
-build() {
- # Python 3 version
- [ -d gtk3 ] || cp -r $pkgbase-$pkgver python3
- cd python3
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- PYTHON=python3
- make
-
- cd "$srcdir"
- # Python 2 version
- [ -d gtk2 ] || cp -r $pkgbase-$pkgver python2
- cd python2
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- PYTHON=python2
- make
-}
-
-package_python-nautilus() {
- pkgdesc="Python 3 bindings for the Nautilus Extension API"
- depends=('nautilus' 'python-gobject')
- conflicts=('python2-nautilus')
-
- cd python3
- make DESTDIR="$pkgdir" install
-}
-
-package_python2-nautilus() {
- pkgdesc="Python 2 bindings for the Nautilus Extension API"
- depends=('nautilus' 'python2-gobject')
- conflicts=('python-nautilus')
-
- cd python2
- make DESTDIR="$pkgdir" install
-}
Copied: nautilus-python/repos/community-x86_64/PKGBUILD (from rev 280779, nautilus-python/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-09 22:07:10 UTC (rev 280780)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giorgio Gilestro <giorgio at gilest.ro>
+
+pkgbase=nautilus-python
+pkgname=('python-nautilus' 'python2-nautilus')
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="Python bindings for the Nautilus Extension API"
+arch=('x86_64')
+url="https://wiki.gnome.org/Projects/NautilusPython"
+license=('GPL')
+depends=('nautilus' 'python-gobject' 'python2-gobject')
+makedepends=('gtk-doc')
+source=(https://download.gnome.org/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
+sha256sums=('36f98a8cc191b4ffcbcd7835eb80f99f39095b221c0ab65b4c84a859f9a9b10f')
+
+prepare() {
+ cd $pkgbase-$pkgver
+ autoreconf -fi
+}
+
+build() {
+ # Python 3 version
+ [ -d gtk3 ] || cp -r $pkgbase-$pkgver python3
+ cd python3
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc \
+ PYTHON=python3
+ make
+
+ cd "$srcdir"
+ # Python 2 version
+ [ -d gtk2 ] || cp -r $pkgbase-$pkgver python2
+ cd python2
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc \
+ PYTHON=python2
+ make
+}
+
+package_python-nautilus() {
+ pkgdesc="Python 3 bindings for the Nautilus Extension API"
+ depends=('nautilus' 'python-gobject')
+ conflicts=('python2-nautilus')
+
+ cd python3
+ make DESTDIR="$pkgdir" install
+}
+
+package_python2-nautilus() {
+ pkgdesc="Python 2 bindings for the Nautilus Extension API"
+ depends=('nautilus' 'python2-gobject')
+ conflicts=('python-nautilus')
+
+ cd python2
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list