[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2019-10-07 Thread Brad Fanella via arch-commits
Date: Monday, October 7, 2019 @ 11:15:34
  Author: cesura
Revision: 513722

upgpkg: python2-caja 1.22.1-1

Updated to version 1.22.1

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-07 11:03:14 UTC (rev 513721)
+++ PKGBUILD2019-10-07 11:15:34 UTC (rev 513722)
@@ -2,7 +2,7 @@
 # Contributor: Martin Wimpress 
 
 pkgname=python2-caja
-pkgver=1.20.2
+pkgver=1.22.1
 pkgrel=1
 pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
 url="https://mate-desktop.org;
@@ -13,7 +13,7 @@
 conflicts=('python2-caja-gtk3')
 replaces=('python2-caja-gtk3')
 
source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
-sha256sums=('eb349fc033ca8dad924b573ede74612d7fa83f6fea93d052d00f13b2c2af289b')
+sha256sums=('13ef4920047033e88dc1906a98c215e3b365159259cb8f04dcd92aa388de131e')
 
 prepare() {
cd "python-caja-${pkgver}"


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2019-04-26 Thread Antonio Rojas via arch-commits
Date: Friday, April 26, 2019 @ 21:58:03
  Author: arojas
Revision: 454362

https

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-26 21:57:28 UTC (rev 454361)
+++ PKGBUILD2019-04-26 21:58:03 UTC (rev 454362)
@@ -5,7 +5,7 @@
 pkgver=1.20.2
 pkgrel=1
 pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
-url="http://mate-desktop.org;
+url="https://mate-desktop.org;
 arch=('x86_64')
 license=('GPL')
 depends=('caja' 'python2-gobject')
@@ -12,7 +12,7 @@
 makedepends=('intltool')
 conflicts=('python2-caja-gtk3')
 replaces=('python2-caja-gtk3')
-source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
 sha256sums=('eb349fc033ca8dad924b573ede74612d7fa83f6fea93d052d00f13b2c2af289b')
 
 prepare() {


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2019-01-11 Thread Brad Fanella via arch-commits
Date: Friday, January 11, 2019 @ 08:33:06
  Author: cesura
Revision: 422360

upgpkg: python2-caja 1.20.2-1

Updated to version 1.20.2

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |   25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-11 08:30:00 UTC (rev 422359)
+++ PKGBUILD2019-01-11 08:33:06 UTC (rev 422360)
@@ -1,7 +1,8 @@
+# Maintainer: Brad Fanella 
 # Contributor: Martin Wimpress 
 
 pkgname=python2-caja
-pkgver=1.20.1
+pkgver=1.20.2
 pkgrel=1
 pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
 url="http://mate-desktop.org;
@@ -12,25 +13,25 @@
 conflicts=('python2-caja-gtk3')
 replaces=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
-sha1sums=('238214bedffaba2f8e911b2fe0ba9c5016e1a477')
+sha256sums=('eb349fc033ca8dad924b573ede74612d7fa83f6fea93d052d00f13b2c2af289b')
 
 prepare() {
-cd python-caja-${pkgver}
-sed -i 's/python-config/python2-config/' configure
+   cd "python-caja-${pkgver}"
+   sed -i 's/python-config/python2-config/' configure
 }
 
 build() {
-cd python-caja-${pkgver}
-PYTHON=/usr/bin/python2 ./configure \
---prefix=/usr
+   cd "python-caja-${pkgver}"
+   PYTHON=/usr/bin/python2 ./configure \
+   --prefix=/usr
 
-#https://bugzilla.gnome.org/show_bug.cgi?id=656231
-sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+   #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 
-make
+make
 }
 
 package() {
-cd python-caja-${pkgver}
-make DESTDIR="${pkgdir}" install
+   cd "python-caja-${pkgver}"
+   make DESTDIR="${pkgdir}" install
 }


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2018-07-26 Thread Antonio Rojas via arch-commits
Date: Thursday, July 26, 2018 @ 07:16:12
  Author: arojas
Revision: 363472

Update to 1.20.1

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-26 07:08:09 UTC (rev 363471)
+++ PKGBUILD2018-07-26 07:16:12 UTC (rev 363472)
@@ -1,7 +1,7 @@
 # Contributor: Martin Wimpress 
 
 pkgname=python2-caja
-pkgver=1.20.0
+pkgver=1.20.1
 pkgrel=1
 pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
 url="http://mate-desktop.org;
@@ -12,7 +12,7 @@
 conflicts=('python2-caja-gtk3')
 replaces=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
-sha1sums=('ffc3d0e6337fc5883d6828ed8e69fab270e72e24')
+sha1sums=('238214bedffaba2f8e911b2fe0ba9c5016e1a477')
 
 prepare() {
 cd python-caja-${pkgver}


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2018-02-09 Thread Antonio Rojas via arch-commits
Date: Friday, February 9, 2018 @ 19:24:34
  Author: arojas
Revision: 290572

Update to 1.20

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-09 19:24:08 UTC (rev 290571)
+++ PKGBUILD2018-02-09 19:24:34 UTC (rev 290572)
@@ -1,7 +1,7 @@
 # Contributor: Martin Wimpress 
 
 pkgname=python2-caja
-pkgver=1.18.1
+pkgver=1.20.0
 pkgrel=1
 pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
 url="http://mate-desktop.org;
@@ -12,7 +12,7 @@
 conflicts=('python2-caja-gtk3')
 replaces=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
-sha1sums=('3beed2241b659e38062b85c8f292b40df4b30732')
+sha1sums=('ffc3d0e6337fc5883d6828ed8e69fab270e72e24')
 
 prepare() {
 cd python-caja-${pkgver}


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2017-09-21 Thread Antonio Rojas
Date: Thursday, September 21, 2017 @ 16:01:53
  Author: arojas
Revision: 259296

Update to 1.18.1

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-21 15:59:35 UTC (rev 259295)
+++ PKGBUILD2017-09-21 16:01:53 UTC (rev 259296)
@@ -1,7 +1,7 @@
 # Contributor: Martin Wimpress 
 
 pkgname=python2-caja
-pkgver=1.18.0
+pkgver=1.18.1
 pkgrel=1
 pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
 url="http://mate-desktop.org;
@@ -12,7 +12,7 @@
 conflicts=('python2-caja-gtk3')
 replaces=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
-sha1sums=('fb4e8b53694651bb606e5f9d361b9997d927875a')
+sha1sums=('3beed2241b659e38062b85c8f292b40df4b30732')
 
 prepare() {
 cd python-caja-${pkgver}


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2017-03-17 Thread Antonio Rojas
Date: Friday, March 17, 2017 @ 22:47:43
  Author: arojas
Revision: 217010

Update to 1.18.0

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-17 22:42:12 UTC (rev 217009)
+++ PKGBUILD2017-03-17 22:47:43 UTC (rev 217010)
@@ -1,11 +1,9 @@
 # Contributor: Martin Wimpress 
 
-_ver=1.16
-_pkgbase=python-caja
 pkgname=python2-caja
-pkgver=${_ver}.0
+pkgver=1.18.0
 pkgrel=1
-pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python (GTK2 version)"
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python"
 url="http://mate-desktop.org;
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,16 +10,17 @@
 depends=('caja' 'python2-gobject')
 makedepends=('intltool')
 conflicts=('python2-caja-gtk3')
-source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz;)
-sha1sums=('9c4125cbe8485174c59e85cb77290826de6e3435')
+replaces=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${pkgver%.*}/python-caja-${pkgver}.tar.xz;)
+sha1sums=('fb4e8b53694651bb606e5f9d361b9997d927875a')
 
 prepare() {
-cd "${srcdir}/${_pkgbase}-${pkgver}"
+cd python-caja-${pkgver}
 sed -i 's/python-config/python2-config/' configure
 }
 
 build() {
-cd "${srcdir}/${_pkgbase}-${pkgver}"
+cd python-caja-${pkgver}
 PYTHON=/usr/bin/python2 ./configure \
 --prefix=/usr
 
@@ -32,6 +31,6 @@
 }
 
 package() {
-cd "${srcdir}/${_pkgbase}-${pkgver}"
+cd python-caja-${pkgver}
 make DESTDIR="${pkgdir}" install
 }


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2016-09-24 Thread Antonio Rojas
Date: Saturday, September 24, 2016 @ 15:06:02
  Author: arojas
Revision: 190374

Update to 1.16.0

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-09-24 15:04:28 UTC (rev 190373)
+++ PKGBUILD2016-09-24 15:06:02 UTC (rev 190374)
@@ -1,6 +1,6 @@
 # Contributor: Martin Wimpress 
 
-_ver=1.14
+_ver=1.16
 _pkgbase=python-caja
 pkgname=python2-caja
 pkgver=${_ver}.0
@@ -13,7 +13,7 @@
 makedepends=('intltool')
 conflicts=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz;)
-sha1sums=('6a550470db3069ba43ab57e8d4d55259237dba3c')
+sha1sums=('9c4125cbe8485174c59e85cb77290826de6e3435')
 
 prepare() {
 cd "${srcdir}/${_pkgbase}-${pkgver}"


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2016-08-07 Thread Balló György
Date: Sunday, August 7, 2016 @ 10:14:21
  Author: bgyorgy
Revision: 185777

upgpkg: python2-caja 1.14.0-1

Update to new version

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-07 10:13:57 UTC (rev 185776)
+++ PKGBUILD2016-08-07 10:14:21 UTC (rev 185777)
@@ -1,6 +1,6 @@
-# Maintainer : Martin Wimpress 
+# Contributor: Martin Wimpress 
 
-_ver=1.12
+_ver=1.14
 _pkgbase=python-caja
 pkgname=python2-caja
 pkgver=${_ver}.0
@@ -9,11 +9,11 @@
 url="http://mate-desktop.org;
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('caja>=1.12' 'python2-gobject')
-makedepends=('mate-common')
+depends=('caja' 'python2-gobject')
+makedepends=('intltool')
 conflicts=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz;)
-sha1sums=('a78157efddc37831414c055f574652e7f47599a5')
+sha1sums=('6a550470db3069ba43ab57e8d4d55259237dba3c')
 
 prepare() {
 cd "${srcdir}/${_pkgbase}-${pkgver}"
@@ -23,8 +23,11 @@
 build() {
 cd "${srcdir}/${_pkgbase}-${pkgver}"
 PYTHON=/usr/bin/python2 ./configure \
---prefix=/usr \
---disable-static
+--prefix=/usr
+
+#https://bugzilla.gnome.org/show_bug.cgi?id=656231
+sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
 make
 }
 


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2015-11-05 Thread Martin Wimpress
Date: Friday, November 6, 2015 @ 02:30:12
  Author: flexiondotorg
Revision: 146174

upgpkg: python2-caja 1.12.0-1 - New upstream release

Modified:
  python2-caja/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-11-06 01:24:53 UTC (rev 146173)
+++ PKGBUILD2015-11-06 01:30:12 UTC (rev 146174)
@@ -1,6 +1,6 @@
 # Maintainer : Martin Wimpress 
 
-_ver=1.10
+_ver=1.12
 _pkgbase=python-caja
 pkgname=python2-caja
 pkgver=${_ver}.0
@@ -9,11 +9,11 @@
 url="http://mate-desktop.org;
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('caja>=1.10' 'python2-gobject')
+depends=('caja>=1.12' 'python2-gobject')
 makedepends=('mate-common')
 conflicts=('python2-caja-gtk3')
 
source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz;)
-sha1sums=('6e9fa98bd3ee82106534dad3a464aebe436fa0a0')
+sha1sums=('a78157efddc37831414c055f574652e7f47599a5')
 
 prepare() {
 cd "${srcdir}/${_pkgbase}-${pkgver}"


[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2015-05-09 Thread Martin Wimpress
Date: Saturday, May 9, 2015 @ 21:43:20
  Author: flexiondotorg
Revision: 133139

upgpkg: python2-caja 1.10.0-1 - New upstream release

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |   25 +++--
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-09 19:32:32 UTC (rev 133138)
+++ PKGBUILD2015-05-09 19:43:20 UTC (rev 133139)
@@ -1,22 +1,27 @@
 # Maintainer : Martin Wimpress c...@flexion.org
 
+_ver=1.10
+_pkgbase=python-caja
 pkgname=python2-caja
-_pkgname=python-caja
-pkgver=1.8.1
+pkgver=${_ver}.0
 pkgrel=1
-pkgdesc=Python bindings for Caja, to allow Caja property page and menu item 
extensions to be written in Python.
+pkgdesc=Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python (GTK2 version)
 url=http://mate-desktop.org;
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('caja' 'python2' 'python2-gobject')
+depends=('caja=1.10' 'python2-gobject')
 makedepends=('mate-common')
-replaces=('python-caja')
-provides=('python-caja')
-source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;)
-sha1sums=('a0fe173e9935c7a550c0c47a751b0d6217bb2760')
+conflicts=('python2-caja-gtk3')
+source=(http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz;)
+sha1sums=('6e9fa98bd3ee82106534dad3a464aebe436fa0a0')
 
+prepare() {
+cd ${srcdir}/${_pkgbase}-${pkgver}
+sed -i 's/python-config/python2-config/' configure
+}
+
 build() {
-cd ${srcdir}/${_pkgname}-${pkgver}
+cd ${srcdir}/${_pkgbase}-${pkgver}
 PYTHON=/usr/bin/python2 ./configure \
 --prefix=/usr \
 --disable-static
@@ -24,6 +29,6 @@
 }
 
 package() {
-cd ${srcdir}/${_pkgname}-${pkgver}
+cd ${srcdir}/${_pkgbase}-${pkgver}
 make DESTDIR=${pkgdir} install
 }


[arch-commits] Commit in python2-caja/trunk (PKGBUILD use-pkg-config.diff)

2014-09-29 Thread Martin Wimpress
Date: Monday, September 29, 2014 @ 20:55:01
  Author: flexiondotorg
Revision: 119811

upgpkg: python2-caja 1.8.1-1 - New upstream release.

Modified:
  python2-caja/trunk/PKGBUILD
Deleted:
  python2-caja/trunk/use-pkg-config.diff

-+
 PKGBUILD|   20 +---
 use-pkg-config.diff |   39 ---
 2 files changed, 5 insertions(+), 54 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-29 18:25:31 UTC (rev 119810)
+++ PKGBUILD2014-09-29 18:55:01 UTC (rev 119811)
@@ -2,9 +2,9 @@
 
 pkgname=python2-caja
 _pkgname=python-caja
-pkgver=1.8.0
-pkgrel=2
-pkgdesc=Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python.
+pkgver=1.8.1
+pkgrel=1
+pkgdesc=Python bindings for Caja, to allow Caja property page and menu item 
extensions to be written in Python.
 url=http://mate-desktop.org;
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,19 +12,9 @@
 makedepends=('mate-common')
 replaces=('python-caja')
 provides=('python-caja')
-source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;
-use-pkg-config.diff)
-sha1sums=('63cf08e3f711be8eb44c423322962a18f822031e'
-  '32c348669868414d98c3a4be0a083b419256200d')
+source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;)
+sha1sums=('a0fe173e9935c7a550c0c47a751b0d6217bb2760')
 
-prepare() {
-cd ${srcdir}/${_pkgname}-${pkgver}
-# Use pkg-config for python detection and variables
-#  - https://github.com/mate-desktop/python-caja/issues/17
-patch -Np1 -i ${srcdir}/use-pkg-config.diff
-autoreconf -fi
-}
-
 build() {
 cd ${srcdir}/${_pkgname}-${pkgver}
 PYTHON=/usr/bin/python2 ./configure \

Deleted: use-pkg-config.diff
===
--- use-pkg-config.diff 2014-09-29 18:25:31 UTC (rev 119810)
+++ use-pkg-config.diff 2014-09-29 18:55:01 UTC (rev 119811)
@@ -1,39 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index f4059e3..a8345ae 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -30,8 +30,12 @@ GTK_DOC_CHECK(1.9)
- dnl **
- dnl * Check for Python
- dnl **
--AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR([could not find Python headers])])
--AM_CHECK_PYTHON_LIBS(,[AC_MSG_ERROR([could not find Python lib])])
-+AM_PATH_PYTHON([2.6])
-+PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
-+PYTHON_LIB_LOC=`pkg-config python-${PYTHON_VERSION} --variable=libdir`
-+AC_SUBST(PYTHON_LIBS)
-+AC_SUBST(PYTHON_CFLAGS)
-+AC_SUBST(PYTHON_LIB_LOC)
- 
- if test `pkg-config --variable=datadir pygobject-3.0` !=  ; then
- PYGOBJECT_VERSION=pygobject-3.0
-diff --git a/src/Makefile.am b/src/Makefile.am
-index e3d7c3f..dd37d15 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -16,12 +16,13 @@ libcaja_python_la_CPPFLAGS = \
-   -DLIBDIR=\$(libdir)\ \
-   -DPYTHON_VERSION=\$(PYTHON_VERSION)\ \
-   -DPY_LIB_LOC=\$(PYTHON_LIB_LOC)\ \
--  $(PYTHON_INCLUDES) \
-+  $(CAJA_PYTHON_CFLAGS) \
-   $(AM_CPPFLAGS)
- 
- libcaja_python_la_CFLAGS = \
-+  $(PYTHON_CFLAGS)
-   $(CAJA_PYTHON_CFLAGS) \
-   $(AM_CFLAGS)
- 
- libcaja_python_la_LDFLAGS = -module -avoid-version
--libcaja_python_la_LIBADD  = $(CAJA_PYTHON_LIBS) $(PYTHON_LIBS)
-+libcaja_python_la_LIBADD  = $(PYTHON_LIBS) $(CAJA_PYTHON_LIBS)


[arch-commits] Commit in python2-caja/trunk (PKGBUILD use-pkg-config.diff)

2014-07-11 Thread Martin Wimpress
Date: Friday, July 11, 2014 @ 13:54:30
  Author: flexiondotorg
Revision: 115448

upgpkg: python2-caja 1.8.0-2 - Fixes Caja modules.

Added:
  python2-caja/trunk/use-pkg-config.diff
Modified:
  python2-caja/trunk/PKGBUILD

-+
 PKGBUILD|   13 +
 use-pkg-config.diff |   39 +++
 2 files changed, 48 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-11 11:25:06 UTC (rev 115447)
+++ PKGBUILD2014-07-11 11:54:30 UTC (rev 115448)
@@ -3,7 +3,7 @@
 pkgname=python2-caja
 _pkgname=python-caja
 pkgver=1.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python.
 url=http://mate-desktop.org;
 arch=('i686' 'x86_64')
@@ -12,12 +12,17 @@
 makedepends=('mate-common')
 replaces=('python-caja')
 provides=('python-caja')
-source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;)
-sha1sums=('63cf08e3f711be8eb44c423322962a18f822031e')
+source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;
+use-pkg-config.diff)
+sha1sums=('63cf08e3f711be8eb44c423322962a18f822031e'
+  '32c348669868414d98c3a4be0a083b419256200d')
 
 prepare() {
 cd ${srcdir}/${_pkgname}-${pkgver}
-sed -i 's/python-config/python2-config/' configure
+# Use pkg-config for python detection and variables
+#  - https://github.com/mate-desktop/python-caja/issues/17
+patch -Np1 -i ${srcdir}/use-pkg-config.diff
+autoreconf -fi
 }
 
 build() {

Added: use-pkg-config.diff
===
--- use-pkg-config.diff (rev 0)
+++ use-pkg-config.diff 2014-07-11 11:54:30 UTC (rev 115448)
@@ -0,0 +1,39 @@
+diff --git a/configure.ac b/configure.ac
+index f4059e3..a8345ae 100644
+--- a/configure.ac
 b/configure.ac
+@@ -30,8 +30,12 @@ GTK_DOC_CHECK(1.9)
+ dnl **
+ dnl * Check for Python
+ dnl **
+-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR([could not find Python headers])])
+-AM_CHECK_PYTHON_LIBS(,[AC_MSG_ERROR([could not find Python lib])])
++AM_PATH_PYTHON([2.6])
++PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
++PYTHON_LIB_LOC=`pkg-config python-${PYTHON_VERSION} --variable=libdir`
++AC_SUBST(PYTHON_LIBS)
++AC_SUBST(PYTHON_CFLAGS)
++AC_SUBST(PYTHON_LIB_LOC)
+ 
+ if test `pkg-config --variable=datadir pygobject-3.0` !=  ; then
+ PYGOBJECT_VERSION=pygobject-3.0
+diff --git a/src/Makefile.am b/src/Makefile.am
+index e3d7c3f..dd37d15 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -16,12 +16,13 @@ libcaja_python_la_CPPFLAGS = \
+   -DLIBDIR=\$(libdir)\ \
+   -DPYTHON_VERSION=\$(PYTHON_VERSION)\ \
+   -DPY_LIB_LOC=\$(PYTHON_LIB_LOC)\ \
+-  $(PYTHON_INCLUDES) \
++  $(CAJA_PYTHON_CFLAGS) \
+   $(AM_CPPFLAGS)
+ 
+ libcaja_python_la_CFLAGS = \
++  $(PYTHON_CFLAGS)
+   $(CAJA_PYTHON_CFLAGS) \
+   $(AM_CFLAGS)
+ 
+ libcaja_python_la_LDFLAGS = -module -avoid-version
+-libcaja_python_la_LIBADD  = $(CAJA_PYTHON_LIBS) $(PYTHON_LIBS)
++libcaja_python_la_LIBADD  = $(PYTHON_LIBS) $(CAJA_PYTHON_LIBS)



[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2014-03-18 Thread Martin Wimpress
Date: Tuesday, March 18, 2014 @ 12:11:28
  Author: flexiondotorg
Revision: 107656

Remove unneccessary options.

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |1 -
 1 file changed, 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-18 11:11:26 UTC (rev 107655)
+++ PKGBUILD2014-03-18 11:11:28 UTC (rev 107656)
@@ -10,7 +10,6 @@
 license=('GPL')
 depends=('caja' 'python2' 'python2-gobject')
 makedepends=('mate-common')
-options=('!emptydirs')
 replaces=('python-caja')
 provides=('python-caja')
 
source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;)



[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2014-03-05 Thread Martin Wimpress
Date: Wednesday, March 5, 2014 @ 22:02:04
  Author: flexiondotorg
Revision: 106565

Updated to 1.8

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-05 21:01:12 UTC (rev 106564)
+++ PKGBUILD2014-03-05 21:02:04 UTC (rev 106565)
@@ -1,22 +1,20 @@
-# $Id$
 # Maintainer : Martin Wimpress c...@flexion.org
-# Contributor: Xpander xpand...@gmail.com
 
 pkgname=python2-caja
 _pkgname=python-caja
-pkgver=1.6.1
+pkgver=1.8.0
 pkgrel=1
 pkgdesc=Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python.
 url=http://mate-desktop.org;
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('mate-file-manager' 'python2' 'python2-gobject')
+depends=('caja' 'python2' 'python2-gobject')
 makedepends=('mate-common')
 options=('!emptydirs')
 replaces=('python-caja')
 provides=('python-caja')
-source=(http://pub.mate-desktop.org/releases/1.6/${_pkgname}-${pkgver}.tar.xz;)
-sha1sums=('44c39d62c977b06e9a8f37cfdbd81c2f6eb10ff5')
+source=(http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz;)
+sha1sums=('63cf08e3f711be8eb44c423322962a18f822031e')
 
 prepare() {
 cd ${srcdir}/${_pkgname}-${pkgver}



[arch-commits] Commit in python2-caja/trunk (PKGBUILD)

2014-01-17 Thread Martin Wimpress
Date: Friday, January 17, 2014 @ 12:53:30
  Author: flexiondotorg
Revision: 104309

Updated to 1.6.1.

Modified:
  python2-caja/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-17 11:43:25 UTC (rev 104308)
+++ PKGBUILD2014-01-17 11:53:30 UTC (rev 104309)
@@ -4,8 +4,8 @@
 
 pkgname=python2-caja
 _pkgname=python-caja
-pkgver=1.6.0
-pkgrel=6
+pkgver=1.6.1
+pkgrel=1
 pkgdesc=Python binding for Caja, to allow Caja property page and menu item 
extensions to be written in Python.
 url=http://mate-desktop.org;
 arch=('i686' 'x86_64')
@@ -16,11 +16,16 @@
 replaces=('python-caja')
 provides=('python-caja')
 
source=(http://pub.mate-desktop.org/releases/1.6/${_pkgname}-${pkgver}.tar.xz;)
-sha1sums=('a7dbcff03b9dbdf2f33dbea96946426097eb9e56')
+sha1sums=('44c39d62c977b06e9a8f37cfdbd81c2f6eb10ff5')
 
+prepare() {
+cd ${srcdir}/${_pkgname}-${pkgver}
+sed -i 's/python-config/python2-config/' configure
+}
+
 build() {
 cd ${srcdir}/${_pkgname}-${pkgver}
-PYTHON=/usr/bin/python2 ./autogen.sh \
+PYTHON=/usr/bin/python2 ./configure \
 --prefix=/usr \
 --disable-static
 make