summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-01 22:21:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-01 22:21:00 -0300
commit888ba65470b25311d05aa55c9f88fb6736ece938 (patch)
tree139490225c3190a6f5728d3756fd17ea9038467b /pcr
parente08edc31359b2fdc2baf4ea9da246c6fac717ab6 (diff)
parentbf725c5b41e91a279bd79c6749b4b8950005d456 (diff)
downloadabslibre-888ba65470b25311d05aa55c9f88fb6736ece938.tar.gz
abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.tar.bz2
abslibre-888ba65470b25311d05aa55c9f88fb6736ece938.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r--pcr/dratmenu/PKGBUILD57
-rw-r--r--pcr/emacs-jabber/PKGBUILD11
-rw-r--r--pcr/emacs-js2-mode/PKGBUILD18
-rw-r--r--pcr/emacs-org-mode/PKGBUILD7
-rw-r--r--pcr/freeipmi/PKGBUILD9
-rw-r--r--pcr/fwsnort/PKGBUILD54
-rw-r--r--pcr/fwsnort/install_pl.patch121
-rw-r--r--pcr/gcc-gcj/PKGBUILD72
-rw-r--r--pcr/glance/PKGBUILD76
-rw-r--r--pcr/h264enc/PKGBUILD12
-rw-r--r--pcr/h264enc/h264enc.install3
-rw-r--r--pcr/hwd/PKGBUILD21
-rw-r--r--pcr/hwd/hwd.install30
-rw-r--r--pcr/ibus-bogo/PKGBUILD67
-rw-r--r--pcr/pacman2pacman/PKGBUILD26
-rw-r--r--pcr/pacman2pacman/instructions.install41
-rw-r--r--pcr/pacman2pacman/pacman2pacman.install16
-rw-r--r--pcr/python2-django-extensions/PKGBUILD39
-rw-r--r--pcr/python2-glanceclient/PKGBUILD30
-rw-r--r--pcr/python2-keystoneclient/PKGBUILD42
-rw-r--r--pcr/python2-netaddr/PKGBUILD22
-rw-r--r--pcr/python2-paste-deploy/PKGBUILD31
-rw-r--r--pcr/python2-repoze.lru/PKGBUILD24
-rw-r--r--pcr/python2-routes/PKGBUILD29
-rw-r--r--pcr/python2-sendfile/PKGBUILD29
-rw-r--r--pcr/python2-warlock/PKGBUILD23
-rw-r--r--pcr/python2-wsgiref/PKGBUILD28
-rw-r--r--pcr/python2-xattr/PKGBUILD28
28 files changed, 732 insertions, 234 deletions
diff --git a/pcr/dratmenu/PKGBUILD b/pcr/dratmenu/PKGBUILD
index d1bace462..aef16cdf4 100644
--- a/pcr/dratmenu/PKGBUILD
+++ b/pcr/dratmenu/PKGBUILD
@@ -1,36 +1,43 @@
-# Contributor (Arch): ivoarch <ivkuzev@gmail.com>
-# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@replicant.io>
+# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor: ivoarch <ivkuzev@gmail.com>
pkgname=dratmenu
-pkgver=20121218
-pkgrel=1
-pkgdesc="ratpoison window dmenu"
-arch=('any')
-url="https://github.com/dimatura/dratmenu.git"
+pkgver=d299ddf
+pkgrel=2
+epoch=
+pkgdesc="A trivial python hack to select windows in Ratpoison with dmenu."
+arch=('i686' 'x86_64')
+url="https://github.com/dimatura/dratmenu"
license=('GPL')
+groups=()
depends=('dmenu' 'python2')
makedepends=('git')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("git+https://github.com/dimatura/dratmenu.git")
+noextract=()
+md5sums=('SKIP')
-_gitroot="https://github.com/dimatura/dratmenu.git"
-_gitname="master"
-
-build() {
- cd $srcdir
-
- if [ -d $srcdir/$pkgname ] ; then
- msg "update git"
- cd $pkgname && git pull origin
- else
- msg "clone git"
- git clone $_gitroot
- fi
+pkgver() {
+ cd $srcdir/$pkgname
+ git describe --always | sed 's|-|.|g'
}
package() {
- mkdir -p $pkgdir/usr/lib/python2.7/site-packages
- cp -r $srcdir/$pkgname $pkgdir/usr/lib/python2.7/site-packages
- mkdir -p $pkgdir/usr/bin
- echo "#!/bin/bash
+ mkdir -p $pkgdir/usr/lib/python2.7/site-packages
+ cp -r $srcdir/$pkgname $pkgdir/usr/lib/python2.7/site-packages
+ mkdir -p $pkgdir/usr/bin
+ echo "#!/bin/bash
python2 /usr/lib/python2.7/site-packages/$pkgname/dratmenu.py" > $pkgdir/usr/bin/dratmenu
- chmod +x $pkgdir/usr/bin/dratmenu
+ chmod +x $pkgdir/usr/bin/$pkgname
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/emacs-jabber/PKGBUILD b/pcr/emacs-jabber/PKGBUILD
index 331029cdf..522cb7cc5 100644
--- a/pcr/emacs-jabber/PKGBUILD
+++ b/pcr/emacs-jabber/PKGBUILD
@@ -1,17 +1,16 @@
-# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Maintainer: Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-jabber
-pkgver=0.8.91
-pkgrel=2
+pkgver=0.8.92
+pkgrel=1
pkgdesc="Jabber.el: a minimal jabber client for emacs"
url=http://emacs-jabber.sourceforge.net
arch=('any')
license=('GPL')
depends=('emacs' 'gnutls' 'gconf')
install=jabber.el.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.lzma)
-md5sums=('739506fbc498386989590cd7733dd47a')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz)
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/pcr/emacs-js2-mode/PKGBUILD b/pcr/emacs-js2-mode/PKGBUILD
index 49a4cbc04..c81db90c7 100644
--- a/pcr/emacs-js2-mode/PKGBUILD
+++ b/pcr/emacs-js2-mode/PKGBUILD
@@ -1,20 +1,20 @@
-# Contributor (Arch): Hauke Wesselmann <hauke@h-dawg.de>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Hauke Wesselmann <hauke@h-dawg.de>
+# Contributor: xgdgsc <xgdgsc at gmail dot com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=emacs-js2-mode
-pkgver=20090723b
+pkgver=20120726
pkgrel=1
pkgdesc="An improved JavaScript mode for GNU Emacs"
arch=('i686' 'x86_64')
url="http://code.google.com/p/js2-mode/"
license=('GPL2')
depends=('emacs')
-source=(http://js2-mode.googlecode.com/files/js2-$pkgver.el)
-md5sums=('9109dca8b624edb8358fb9938a03d785')
+source=(https://js2-mode.googlecode.com/files/js2-mode.el)
build() {
- cd $startdir/src/
- emacs -batch -q -f batch-byte-compile js2-$pkgver.el
- install -Dm644 $srcdir/js2-$pkgver.el $pkgdir/usr/share/emacs/site-lisp/js2.el
- install -Dm644 $srcdir/js2-$pkgver.elc $pkgdir/usr/share/emacs/site-lisp/js2.elc
+ cd $srcdir
+ emacs -batch -q -f batch-byte-compile js2-mode.el
+ install -Dm644 $srcdir/js2-mode.el $pkgdir/usr/share/emacs/site-lisp/js2-mode.el
+ install -Dm644 $srcdir/js2-mode.elc $pkgdir/usr/share/emacs/site-lisp/js2-mode.elc
}
diff --git a/pcr/emacs-org-mode/PKGBUILD b/pcr/emacs-org-mode/PKGBUILD
index dbff05b6b..ba0028fa4 100644
--- a/pcr/emacs-org-mode/PKGBUILD
+++ b/pcr/emacs-org-mode/PKGBUILD
@@ -1,11 +1,11 @@
# Contributor (Arch): Jiyunatori <tori_LEAVETHISOUT_@0xc29.net>
# Contributor (Arch): mdev
# adopted by domanov <domanov_LEAVETHISOUT_@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@hackers.camp>
pkgname=emacs-org-mode
_srcname=org
-pkgver=7.9.2
+pkgver=8.2.6
pkgrel=1
pkgdesc="Emacs Org Mode"
arch=('any')
@@ -14,7 +14,6 @@ depends=(emacs)
license=('GPL')
install=emacs-org-mode.install
source=(http://orgmode.org/$_srcname-$pkgver.tar.gz)
-md5sums=('e79441ff81c176e70230937e09f6042c')
build() {
cd "${srcdir}/${_srcname}-${pkgver}"
@@ -36,4 +35,4 @@ package() {
gzip -9 $pkgdir/usr/share/info/orgmode || return 1
rm $pkgdir/usr/share/info/org || return 1
}
-md5sums=('e79441ff81c176e70230937e09f6042c')
+
diff --git a/pcr/freeipmi/PKGBUILD b/pcr/freeipmi/PKGBUILD
index cc1159917..5b8fac7ba 100644
--- a/pcr/freeipmi/PKGBUILD
+++ b/pcr/freeipmi/PKGBUILD
@@ -1,10 +1,10 @@
+# Contributor: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
# http://github.com/fukawi2/aur-packages
-# Contributor (Arch): Nathan Owe <ndowens04 at gmail>
-# Contributor (Arch): Phillip Smith <fukawi2@NO-SPAM.gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+# Contributor: Nathan Owe <ndowens04 at gmail>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=freeipmi
-pkgver=1.2.3
+pkgver=1.4.1
pkgrel=1
pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)"
arch=('i686' 'x86_64')
@@ -19,6 +19,7 @@ build() {
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var/lib \
diff --git a/pcr/fwsnort/PKGBUILD b/pcr/fwsnort/PKGBUILD
index 0f470ca37..b4983658d 100644
--- a/pcr/fwsnort/PKGBUILD
+++ b/pcr/fwsnort/PKGBUILD
@@ -1,44 +1,44 @@
-# Contributor (Arch): Colin Shea <colin@evaryont.me>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Colin Shea <colin@evaryont.me>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=fwsnort
-pkgver=1.6.2
-pkgrel=1
+pkgver=1.6.3
+pkgrel=3
pkgdesc="application layer IDS/IPS by translating snort rules into iptables"
arch=('any')
url="http://www.cipherdyne.org/fwsnort/"
license=('GPL')
-depends=('perl' 'perl-net-ipv4addr' 'perl-iptables-parse' 'iptables' 'net-tools')
+# net-tools: sorry, but fwsnort needs ifconfig. Doesn't support iproute yet
+depends=('perl' 'perl-netaddr-ip' 'perl-iptables-parse' 'iptables' 'net-tools')
makedepends=('wget')
source=(http://www.cipherdyne.org/$pkgname/download/$pkgname-$pkgver.tar.bz2
'install_pl.patch')
+options=(emptydirs)
+
build() {
cd "$srcdir/$pkgname-$pkgver"
- mkdir -p $pkgdir/var/log/fwsnort \
- $pkgdir/usr/lib/fwsnort \
- $pkgdir/usr/share/man/man8 \
- $pkgdir/usr/sbin \
- $pkgdir/etc/fwsnort/snort_rules \
- $pkgdir/etc/fwsnort/archive \
- $pkgdir/etc/fwsnort/snort_rules_queue
-
- patch -p0 -i $srcdir/install_pl.patch
- sed -e "/mpath.*man8/s|/usr|$pkgdir&|" \
- -e "/^my\\ \\\$sbin/s|/usr|$pkgdir&|" \
- -i install.pl
-
- cp fwsnort.conf fwsnort.conf.bak
-
- sed -e "s|/var/log/fwsnort|$pkgdir&|" \
- -e "s|/usr/lib/fwsnort|$pkgdir&|" \
- -e "s|/etc/fwsnort|$pkgdir&|" \
- ./fwsnort.conf -i
+ # fix up the installer for our purposes:
+ # - removes the root check
+ # - includes sbin as another place to check for binares
+ # - fixes various paths for utilities & the man page
+ patch -p1 -i $srcdir/install_pl.patch
+
# -S skips installing the perl modules, which we did with packages
- echo y | ./install.pl -S
- mv -f fwsnort.conf.bak $pkgdir/etc/fwsnort/fwsnort.conf
- chmod 755 $pkgdir/usr/sbin/fwsnort
+ # and --install-test-dir sets the INSTALL_ROOT to src/../test/fwsnort-test. An
+ # easy way to collect all the files into 1
+ ./install.pl -S --install-test-dir
+}
+
+package() {
+ cp -r $srcdir/fwsnort-$pkgver/test/fwsnort-install/* -t $pkgdir
+ # delete references to $pkgdir from fwsnort; they were made by the installer
+ # as part of installing to the test dir
+ cp -f $srcdir/fwsnort-$pkgver/fwsnort.conf $pkgdir/etc/fwsnort/fwsnort.conf
+
+ # avoid a 'warning: directory permissions differ on etc/' line from pacman
+ chmod 755 $pkgdir/etc
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/fwsnort/install_pl.patch b/pcr/fwsnort/install_pl.patch
index b9cfb4a33..39ffe3e9b 100644
--- a/pcr/fwsnort/install_pl.patch
+++ b/pcr/fwsnort/install_pl.patch
@@ -1,9 +1,19 @@
---- install.pl 2011-02-05 05:02:38.845785881 -0700
-+++ install2.pl 2011-02-05 05:03:21.350360881 -0700
-@@ -120,10 +120,6 @@
+diff -u fwsnort-1.6.3-2/install.pl fwsnort-1.6.3/install.pl
+--- fwsnort-1.6.3-2/install.pl 2012-12-24 21:31:28.597018440 -0700
++++ fwsnort-1.6.3/install.pl 2012-12-24 21:40:38.564569377 -0700
+@@ -45,7 +45,7 @@
+ my $perlCmd = '/usr/bin/perl';
+ my $makeCmd = '/usr/bin/make';
+ my $wgetCmd = '/usr/bin/wget';
+-my $gzipCmd = '/bin/gzip';
++my $gzipCmd = '/usr/bin/gzip';
+ my $tarCmd = '/bin/tar';
+ #======================= end config ======================
+
+@@ -129,10 +129,6 @@
### make sure the system binaries are where we think they are.
&check_commands();
-
+
-### check to make sure we are running as root
-$< == 0 && $> == 0 or die "You need to be root (or equivalent UID 0",
- " account) to install/uninstall fwsnort!\n";
@@ -11,17 +21,106 @@
if ($uninstall) {
&uninstall();
} else {
---- install.pl 2011-01-02 18:38:51.000000000 -0700
-+++ install2.pl 2011-02-05 04:59:01.653910881 -0700
-@@ -471,8 +471,11 @@
- sub check_commands() {
- my @path = qw(
+@@ -154,10 +150,10 @@
+ "sources directory." unless -e 'fwsnort' and -e 'fwsnort.conf';
+
+ unless (-d $config{'CONF_DIR'}) {
+- &full_mkdir($config{'CONF_DIR'}, 0500);
++ &full_mkdir($config{'CONF_DIR'}, 0700);
+ }
+ unless (-d $config{'RULES_DIR'}) {
+- &full_mkdir($config{'RULES_DIR'}, 0500);
++ &full_mkdir($config{'RULES_DIR'}, 0700);
+ }
+
+ ### install perl modules
+@@ -336,52 +332,11 @@
+
+ sub install_manpage() {
+ my $manpage = 'fwsnort.8';
+- ### remove old man page
+- unlink "/usr/local/man/man8/${manpage}" if
+- (-e "/usr/local/man/man8/${manpage}");
+
+ ### default location to put the fwsnort man page, but check with
+ ### /etc/man.config
+- my $mpath = '/usr/share/man/man8';
+- if (-e '/etc/man.config') {
+- ### prefer to install $manpage in /usr/local/man/man8 if
+- ### this directory is configured in /etc/man.config
+- open M, '< /etc/man.config' or
+- die "[*] Could not open /etc/man.config: $!";
+- my @lines = <M>;
+- close M;
+- ### prefer the path "/usr/share/man"
+- my $found = 0;
+- for my $line (@lines) {
+- chomp $line;
+- if ($line =~ m|^MANPATH\s+/usr/share/man|) {
+- $found = 1;
+- last;
+- }
+- }
+- ### try to find "/usr/local/man" if we didn't find /usr/share/man
+- unless ($found) {
+- for my $line (@lines) {
+- chomp $line;
+- if ($line =~ m|^MANPATH\s+/usr/local/man|) {
+- $mpath = '/usr/local/man/man8';
+- $found = 1;
+- last;
+- }
+- }
+- }
+- ### if we still have not found one of the above man paths,
+- ### just select the first one out of /etc/man.config
+- unless ($found) {
+- for my $line (@lines) {
+- chomp $line;
+- if ($line =~ m|^MANPATH\s+(\S+)|) {
+- $mpath = $1;
+- last;
+- }
+- }
+- }
+- }
++ my $mpath = $config{'INSTALL_ROOT'}.'/usr/share/man/man8';
++
+ &full_mkdir($mpath, 0755);
+ my $mfile = "${mpath}/${manpage}";
+ print "[+] Installing $manpage man page as $mfile\n";
+@@ -532,6 +487,9 @@
/bin
-+ /sbin
/usr/bin
-+ /usr/sbin
/usr/local/bin
++ /sbin
++ /usr/sbin
+ /usr/local/sbin
);
CMD: for my $cmd (keys %cmds) {
unless (-x $cmds{$cmd}) {
+diff -u fwsnort-1.6.3-2/fwsnort.conf fwsnort-1.6.3/fwsnort.conf
+--- fwsnort-1.6.3-2/fwsnort.conf 2012-12-24 22:39:21.323178467 -0700
++++ fwsnort-1.6.3/fwsnort.conf 2012-12-24 22:41:52.172194457 -0700
+@@ -103,14 +103,14 @@
+
+ ### system binaries
+ shCmd /bin/sh;
+-echoCmd /bin/echo;
++echoCmd /usr/bin/echo;
+ tarCmd /bin/tar;
+ wgetCmd /usr/bin/wget;
+ unameCmd /usr/bin/uname;
+ ifconfigCmd /sbin/ifconfig;
+-iptablesCmd /sbin/iptables;
+-iptables-saveCmd /sbin/iptables-save;
+-iptables-restoreCmd /sbin/iptables-restore;
+-ip6tablesCmd /sbin/ip6tables;
+-ip6tables-saveCmd /sbin/ip6tables-save;
+-ip6tables-restoreCmd /sbin/ip6tables-restore;
++iptablesCmd /usr/sbin/iptables;
++iptables-saveCmd /usr/sbin/iptables-save;
++iptables-restoreCmd /usr/sbin/iptables-restore;
++ip6tablesCmd /usr/sbin/ip6tables;
++ip6tables-saveCmd /usr/sbin/ip6tables-save;
++ip6tables-restoreCmd /usr/sbin/ip6tables-restore;
diff --git a/pcr/gcc-gcj/PKGBUILD b/pcr/gcc-gcj/PKGBUILD
index f50e496bf..2ae2090ae 100644
--- a/pcr/gcc-gcj/PKGBUILD
+++ b/pcr/gcc-gcj/PKGBUILD
@@ -1,43 +1,42 @@
-# Contributor (Arch): Renan Manola <rmanola@gmail.com>
-# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Renan Manola <rmanola@gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Joey Dumont <joey.dumont@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
# Based on a modified version of the gcc PKGBUILD
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
pkgname=gcc-gcj
-pkgver=4.7.2
-pkgrel=2
+pkgver=4.9.0
+pkgrel=1
pkgdesc="The GNU Compiler for Java"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
url="http://gcc.gnu.org"
-depends=("gcc=$pkgver" 'gtk2' 'file' 'zip' 'libsm' 'libxtst' 'alsa-lib' 'libart-lgpl')
-makedepends=('binutils>=2.20.1' 'mpfr>=2.4.2-2' 'cloog>=0.16.2-1' 'elfutils'
- 'libmpc>=0.8.2-2' 'jack')
+depends=('gtk2' 'libxtst' 'alsa-lib' 'cloog>=0.16.2-1' 'libmpc>=0.8.2-2' 'classpath')
+makedepends=('mpfr>=2.4.2-2' 'elfutils' 'jack' 'zip' 'gcc' 'libart-lgpl')
+optdepends=('python2: for running /usr/bin/aot-compile'
+ 'java-environment: for runnig some jars')
options=('!libtool')
install=$pkgname.install
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 libjava-sjlj.dpatch gcc_pure64.patch)
-md5sums=('cc308a0891e778cfda7a151ab8a6e762'
- 'afe3541abf5ce163223f94ccdbc66e30'
- 'ced48436c1b3c981d721a829f1094de1')
+source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2")
build() {
- cd ${srcdir}/gcc-${pkgver}
+ cd "$srcdir"/gcc-${pkgver}
# Do not install libiberty
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
-
- chmod +x ${srcdir}/*.dpatch
- ${srcdir}/libjava-sjlj.dpatch -patch
+
+ # Arch Linux installs x86_64 libraries /lib
+ [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
+
+ # Arch uses python version 3 as default python
+ sed -i '1s+python+python2+' libjava/contrib/aot-compile.in
echo ${pkgver} > gcc/BASE-VER
-
[ -d build ] || mkdir build
- if [ "${CARCH}" = "x86_64" ]; then
- patch -p1 < $srcdir/gcc_pure64.patch
- fi
+
cd build
../configure --prefix=/usr --enable-shared --enable-languages=java \
@@ -46,11 +45,12 @@ build() {
--libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch \
--with-tune=generic --enable-java-awt=gtk --with-java-home="$JAVA_HOME" \
--enable-libgcj-multifile --disable-plugin --with-system-zlib
+ CPPFLAGS=
make
}
package() {
- cd ${srcdir}/gcc-${pkgver}/build
+ cd "$srcdir"/gcc-${pkgver}/build
make -j1 DESTDIR=${pkgdir} install-target-libjava
cd gcc
@@ -69,8 +69,36 @@ package() {
rm -f ${pkgdir}/usr/man/man1/g++.*
# Rename two files to not conflict to classpath
mv ${pkgdir}/usr/share/info/cp-tools.info ${pkgdir}/usr/share/info/cp-tools-gcj.info
- rm ${pkgdir}/usr/share/info/dir
mv ${pkgdir}/usr/share/man/man1/gjdoc.1 ${pkgdir}/usr/share/man/man1/gjdoc.gcj.1
+ cd $pkgdir
+ [[ $CARCH == "x86_64" ]] && rm usr/lib/libgcc_s.so usr/lib/libgcc_s.so.1 \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtbegin.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtbeginS.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtbeginT.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtend.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtendS.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtfastmath.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtprec32.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtprec64.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/crtprec80.o \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/include/unwind.h \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/libgcc.a \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/libgcc_eh.a \
+ usr/lib/gcc/x86_64-unknown-linux-gnu/$pkgver/libgcov.a
+ [[ $CARCH == "i686" ]] && rm usr/lib/libgcc_s.so usr/lib/libgcc_s.so.1 \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtbegin.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtbeginS.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtbeginT.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtend.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtendS.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtfastmath.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtprec32.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtprec64.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/crtprec80.o \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/include/unwind.h \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/libgcc.a \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/libgcc_eh.a \
+ usr/lib/gcc/i686-pc-linux-gnu/$pkgver/libgcov.a
find ${pkgdir}/usr/lib -type f -name '*.so.*' -exec strip --strip-unneeded {} \;
diff --git a/pcr/glance/PKGBUILD b/pcr/glance/PKGBUILD
index 3dd349e8b..846d17f1d 100644
--- a/pcr/glance/PKGBUILD
+++ b/pcr/glance/PKGBUILD
@@ -1,62 +1,34 @@
-# Contributor (Arch): Josh Chase <jcjoshuachase@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Contributor: Josh Chase <jcjoshuachase@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=glance
-pkgver=2012.1.2
+_relname=icehouse
+pkgver=2014.1.b2
pkgrel=1
-_ostackver=essex
-_clientname=python-glanceclient
-_clientver=0.5.1
-pkgdesc="OpenStack image service"
-arch=('any')
-license=('custom')
-url="https://launchpad.net/$pkgname"
-depends=('python2'
- 'python2-httplib2'
- 'python2-webob'
- 'python2-eventlet'
- 'python2-greenlet'
- 'python-paste'
- 'python-paste-deploy'
- 'python-routes'
- 'python2-sqlalchemy'
- 'python2-migrate'
- 'python2-passlib'
- 'python2-lxml'
- 'python-anyjson'
- 'python-wsgiref'
- 'python2-argparse'
- 'python2-boto'
- 'python-xattr'
- 'python2-kombu'
- 'python2-crypto'
- 'python2-sendfile'
- 'python2-iso8601')
-makedepends=('python2-distribute')
-source=("https://launchpad.net/$pkgname/$_ostackver/$pkgver/+download/$pkgname-$pkgver.tar.gz"
- "http://pypi.python.org/packages/source/${_clientname:0:1}/$_clientname/$_clientname-$_clientver.tar.gz")
+pkgdesc="OpenStack image registry and delivery service"
+arch=(any)
+url=https://launchpad.net/glance
+license=(custom)
+depends=(python2-jsonpointer python2-glanceclient python2-keystoneclient
+ python2-pyopenssl python2-warlock)
+makedepends=(python2-setuptools)
+source=($url/$_relname/$_relname-2/+download/$pkgname-$pkgver.tar.gz)
-build() {
- cd $srcdir
-
- find . -type f -exec sed -i -e 's|^#!/usr/bin/python$|#!/usr/bin/python2|' \
- -e 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' {} +
-
- cd $srcdir/$_clientname-$_clientver
- python2 setup.py build
+prepare() {
+ find $pkgname-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
+}
- cd "$srcdir/$pkgname-$pkgver"
- python2 setup.py build
+build() {
+ cd $pkgname-$pkgver/
+ python2 setup.py build
}
package() {
- cd $srcdir/$_clientname-$_clientver
- python2 setup.py install --root=$pkgdir
+ cd $pkgname-$pkgver/
+ python2 setup.py install --root="$pkgdir" --optimize=1
- cd "$srcdir/$pkgname-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- install -dm600 "$pkgdir"/etc/$pkgname
- install -Dm600 etc/* "$pkgdir"/etc/$pkgname/
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -d "$pkgdir"/etc/
+ cp -r etc/ "$pkgdir"/etc/$pkgname/
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
diff --git a/pcr/h264enc/PKGBUILD b/pcr/h264enc/PKGBUILD
index 151d05be0..b4d399b80 100644
--- a/pcr/h264enc/PKGBUILD
+++ b/pcr/h264enc/PKGBUILD
@@ -1,10 +1,10 @@
-# Contributor (Arch): AlexanderR <rvacheva at nxt dot ru>
-# Contributor (Arch): Markus Heuser <markus.heuser@web.de>
-# Contributor (Arch): Stefan Clarke <fm0nk3y@yahoo.co.uk>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: AlexanderR <rvacheva at nxt dot ru>
+# Contributor: Markus Heuser <markus.heuser@web.de>
+# Contributor: Stefan Clarke <fm0nk3y@yahoo.co.uk>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=h264enc
-pkgver=9.4.8
+pkgver=10.0.5
pkgrel=1
pkgdesc="Advanced shell script for encoding DVDs or video files to the H.264 format using the encoding utility MEncoder from MPlayer."
arch=('any')
@@ -31,5 +31,3 @@ package() {
rm ${pkgdir}/usr/share/doc/h264enc/{uninstall,LICENSE}
}
-sha1sums=('3d8b713c831a152994ce124a3fd4aebafcd4fd6d')
-sha1sums=('3d8b713c831a152994ce124a3fd4aebafcd4fd6d')
diff --git a/pcr/h264enc/h264enc.install b/pcr/h264enc/h264enc.install
index 3c17e8130..78d77a65f 100644
--- a/pcr/h264enc/h264enc.install
+++ b/pcr/h264enc/h264enc.install
@@ -6,4 +6,7 @@ post_upgrade() {
if [[ "$2" < "9.4.3" ]]; then
echo "~/.h264enc/config syntax changed since version 9.4.2. Update it by hands.";
fi
+ if [[ "$2" < "9.5.1" ]]; then
+ echo "~/.h264enc/config syntax changed since version 9.5.1. Update it by hands.";
+ fi
}
diff --git a/pcr/hwd/PKGBUILD b/pcr/hwd/PKGBUILD
new file mode 100644
index 000000000..f4af6f8f5
--- /dev/null
+++ b/pcr/hwd/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Diogo Leal <estranho@diogoleal.com>
+# Contributor: Diogo Leal <estranho@diogoleal.com>
+# Maintainer : Parabola GNU / Linux-libre <aurelien@hackers.camp>
+
+pkgname=hwd
+pkgver=5.5.2
+pkgrel=2
+pkgdesc="Hardware detect and xorg.conf generator for Arch Linux"
+arch=('i686' 'x86_64')
+url="http://user-contributions.org/projects/hwd/hwd.html"
+license=('GPL')
+depends=('bash' 'pciutils' 'usbutils' 'ddcxinfo-arch' 'wget')
+install=hwd.install
+source=(http://user-contributions.org/projects/hwd/src/$pkgname-$pkgver.bin.tar.gz)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ install -d ${pkgdir}/{etc/hwd,usr/bin,usr/share/hwd}
+ install -Dm755 usr/sbin/* ${pkgdir}/usr/bin/ || return 1
+ for x in "etc/hwd" "usr/share/hwd/" "usr/bin" ; do install -Dm755 $x/* ${pkgdir}/$x/ || return 1; done
+}
diff --git a/pcr/hwd/hwd.install b/pcr/hwd/hwd.install
new file mode 100644
index 000000000..04955bfa9
--- /dev/null
+++ b/pcr/hwd/hwd.install
@@ -0,0 +1,30 @@
+# arg 1: the new package version
+post_install() {
+echo ""
+echo "lshwd dependency is replaced by pciutils and usbutils."
+echo ""
+echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
+echo ""
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ /bin/true
+echo ""
+echo "lshwd dependency is replaced by pciutils and usbutils."
+echo ""
+echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
+echo ""
+
+}
+
+# arg 1: the old package version
+pre_remove() {
+ rm -R /etc/hwd >/dev/null 2>&1
+}
+
+op=$1
+shift
+
+$op $*
diff --git a/pcr/ibus-bogo/PKGBUILD b/pcr/ibus-bogo/PKGBUILD
index 915112d36..acb7c5a5b 100644
--- a/pcr/ibus-bogo/PKGBUILD
+++ b/pcr/ibus-bogo/PKGBUILD
@@ -1,55 +1,36 @@
-# Contributor (Arch): Nguyen Ha Duong <cmpitg@gmail.com>
-# Contributor (Arch): Ngo Trung <ndtrung4419@gmail.com>
-# Contributor (Arch): Dam Tien Long <longdt90@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Nguyen Ha Duong <cmpitg@gmail.com>
+# Contributor: Ngo Trung <ndtrung4419@gmail.com>
+# Contributor: Dam Tien Long <longdt90@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname="ibus-bogo"
-pkgver=0.1.0
-pkgrel=1
-pkgdesc=" Bogo Engine for Ibus"
+pkgver=0.4
+pkgrel=0
+pkgdesc="Vietnamese input method for IBus. \
+Git version's https://aur.archlinux.org/packages/ibus-bogo-git/"
arch=('i686' 'x86_64')
-url="https://github.com/BoGoEngine"
-license=('GPLv3')
-depends=('ibus' 'python2' 'glibmm' 'python2-gobject')
-makedepends=('git' 'cmake' 'gcc' 'python2')
-provides=('ibus-bogo')
+url="https://github.com/BoGoEngine/ibus-bogo-python"
+license=('GPL v3')
+depends=('ibus' 'python' 'python-gobject' 'libwnck3' 'python-pyqt4' 'libnotify' 'qt4')
+makedepends=('git' 'cmake' 'gcc' 'pyqt4-common')
+source=("https://github.com/BoGoEngine/ibus-bogo-python/releases/download/v$pkgver.$pkgrel/ibus-bogo_$pkgver.$pkgrel.tar.gz")
-_gitpython="https://github.com/BoGoEngine/ibus-bogo-python.git"
-_gitpythonname="ibus-bogo-python"
-
-install=install
build() {
- cd ${srcdir}
-
- if [ -d ${_gitpythonname} ] ; then
- cd ${srcdir}/${_gitpythonname} && git pull
- msg "Local ${srcdir}/${_gitpythonname} updated"
-
- else
- git clone ${_gitpython} ${_gitpythonname}
-
- fi
-
-
-
- msg "Starting make..."
-
- mkdir ${pkgdir}/usr/
-
- # Building ibus-bogo-python
- cd ${srcdir}/${_gitpythonname}
- if [ -d build ]; then
- cd build
- else
- mkdir build
- cd build
- fi
+ cd ${srcdir}/${pkgname}
+ msg "Starting build..."
+
+ # Building ibus-bogo-python
+ mkdir -p build
+ cd build
+
cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}/usr" ..
make
+ }
+package() {
+ cd ${srcdir}/${pkgname}/build
make install
- rm ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled
-
}
+
diff --git a/pcr/pacman2pacman/PKGBUILD b/pcr/pacman2pacman/PKGBUILD
new file mode 100644
index 000000000..6c6cf64b3
--- /dev/null
+++ b/pcr/pacman2pacman/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Joseph Graham <joseph@t67.eu>
+pkgname=pacman2pacman
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="A plugin for pactor to download packages by bittorrent and seed them back up"
+arch=(any)
+url="https://wiki.parabolagnulinux.org/Pacman2pacman"
+license=('GPL')
+depends=(transmission-cli)
+options=(emptydirs)
+install=$pkgname.install
+source=(https://t67.eu/filebin/$pkgname-$pkgver.tar.gz)
+
+package() {
+ cd $pkgname
+
+ mkdir -p "${pkgdir}/srv/pacman2pacman/torrents"
+
+ chown -R transmission "${pkgdir}/srv/pacman2pacman/"
+
+ mkdir -p "${pkgdir}/usr/bin"
+
+ cp pacman2pacman-get "${pkgdir}/usr/bin"
+
+ chmod +x "${pkgdir}/usr/bin/pacman2pacman-get"
+}
diff --git a/pcr/pacman2pacman/instructions.install b/pcr/pacman2pacman/instructions.install
new file mode 100644
index 000000000..503573305
--- /dev/null
+++ b/pcr/pacman2pacman/instructions.install
@@ -0,0 +1,41 @@
+# This is a default template for a post-install scriptlet.
+# Uncomment only required functions and remove any functions
+# you don't need (and this header).
+
+## arg 1: the new package version
+#pre_install() {
+ # do something here
+#}
+
+## arg 1: the new package version
+post_install() {
+ # do something here
+ echo 'transmission-daemon needs to be running for pacman2pacman to work:'
+ echo 'systemctl start transmission'
+ echo 'systemctl enable transmission'
+ echo
+ echo 'Put the following into /etc/pacman.conf: XferCommand = /usr/bin/pacman2pacman-get %u %o'
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+#pre_upgrade() {
+ # do something here
+#}
+
+## arg 1: the new package version
+## arg 2: the old package version
+#post_upgrade() {
+ # do something here
+#}
+
+## arg 1: the old package version
+#pre_remove() {
+ # do something here
+#}
+
+## arg 1: the old package version
+post_remove() {
+ # do something here
+ echo "Don't forget to remove pacman2pacman from pacman.conf's \`XferCommand' setting."
+}
diff --git a/pcr/pacman2pacman/pacman2pacman.install b/pcr/pacman2pacman/pacman2pacman.install
new file mode 100644
index 000000000..ea0b144fe
--- /dev/null
+++ b/pcr/pacman2pacman/pacman2pacman.install
@@ -0,0 +1,16 @@
+post_install() {
+ chmod 777 /var/cache/pacman/pkg
+
+ echo 'transmission-daemon needs to be running for pacman2pacman to work:'
+ echo 'systemctl start transmission'
+ echo 'systemctl enable transmission'
+ echo
+ echo 'Put the following into /etc/pacman.conf: XferCommand = /usr/bin/pacman2pacman-get %u %o'
+ echo
+ echo 'Note that /var/cache/pacman/pkg has been chmoded 777'
+}
+
+post_remove() {
+ echo "Don't forget to remove pacman2pacman from pacman.conf's \`XferCommand' setting."
+ echo 'Also note that /var/cache/pacman/pkg was chmoded 777 on installation, you might want to change it back.'
+}
diff --git a/pcr/python2-django-extensions/PKGBUILD b/pcr/python2-django-extensions/PKGBUILD
new file mode 100644
index 000000000..16f2d542a
--- /dev/null
+++ b/pcr/python2-django-extensions/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor: Jeremy "Ichimonji10" Audet <ichimonji10 at gmail dot com>
+# Contributor: Dominik Kozaczko <dominik@kozaczko.info>
+# Contributor: Alper Kanat <alperkanat@raptiye.org>
+# Contributor: Apkawa <apkawa@gmail.com>
+# Contributor: Schnouki <thomas.jost@gmail.com>
+#
+# namcap warns that python2-django and python2-six are unnecessary dependencies.
+# This is untrue.
+#
+# This package was formerly named `django-extensions`. As a result, this package
+# must provide and conflict with that package.
+
+pkgname=python2-django-extensions
+_pkgname=django-extensions
+pkgver=1.3.7
+pkgrel=1
+pkgdesc='A collection of custom extensions for the Django Framework.'
+arch=(any)
+url='http://github.com/django-extensions/django-extensions'
+license=(MIT)
+depends=(python2-django python2-six)
+makedepends=(python2-setuptools)
+optdepends=(
+ 'graphviz: to graph Django models'
+ 'python2-werkzeug: to use the Werkzeug debugger in the embedded web server'
+)
+provides=(django-extensions)
+conflicts=(django-extensions)
+options=(!emptydirs)
+source=("https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python2-glanceclient/PKGBUILD b/pcr/python2-glanceclient/PKGBUILD
new file mode 100644
index 000000000..391e98caa
--- /dev/null
+++ b/pcr/python2-glanceclient/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python2-glanceclient
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="OpenStack image service (client libs)"
+arch=(any)
+url=https://launchpad.net/glance
+license=(custom)
+depends=(python2-anyjson python2-crypto python2-eventlet python2-greenlet python2-httplib2
+ python2-iso8601 python2-kombu python2-lxml python2-migrate python2-netaddr python2-passlib
+ python2-paste python2-paste-deploy python2-routes python2-sendfile python2-sqlalchemy
+ python2-webob python2-wsgiref python2-xattr python2-pbr python2-pip)
+makedepends=(python2-setuptools)
+source=(https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname//2}/${pkgname//2}-$pkgver.tar.gz)
+
+prepare() {
+ find ${pkgname//2}-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
+}
+
+build() {
+ cd ${pkgname//2}-$pkgver/
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname//2}-$pkgver/
+ python2 setup.py install --root="$pkgdir"
+}
diff --git a/pcr/python2-keystoneclient/PKGBUILD b/pcr/python2-keystoneclient/PKGBUILD
new file mode 100644
index 000000000..66f255776
--- /dev/null
+++ b/pcr/python2-keystoneclient/PKGBUILD
@@ -0,0 +1,42 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Contributor: James Bulmer <nekinie@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname="python2-keystoneclient"
+pkgver=0.8.0
+pkgrel=2
+pkgdesc="Client library for Openstack identity"
+arch=("any")
+url="https://pypi.python.org/pypi/python-keystoneclient/"
+license=("Apache")
+
+depends=(
+ "python2"
+ "python2-pbr"
+ "python2-netaddr"
+ "python2-six"
+ "python2-iso8601"
+ "python2-oslo-config"
+ "python2-babel"
+ "python2-prettytable"
+ "python2-requests"
+ "python2-pip"
+)
+
+makedepends=("python2-setuptools")
+
+conflicts=(
+ "python2-keystoneclient-git"
+)
+
+source=("https://pypi.python.org/packages/source/p/python-keystoneclient/python-keystoneclient-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/python-keystoneclient-${pkgver}/"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/python-keystoneclient-${pkgver}/"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
diff --git a/pcr/python2-netaddr/PKGBUILD b/pcr/python2-netaddr/PKGBUILD
index b9d4da022..ff07e3c07 100644
--- a/pcr/python2-netaddr/PKGBUILD
+++ b/pcr/python2-netaddr/PKGBUILD
@@ -1,19 +1,23 @@
-# Contributor (Arch): Sebastien LEDUC <sebastien@sleduc.fr>
-# Contributor (Arch): Gilles CHAUVIN <gcnweb at gmail dot com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+# Contributor: Sebastien LEDUC <sebastien@sleduc.fr>
+# Contributor: Gilles CHAUVIN <gcnweb at gmail dot com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=python2-netaddr
-pkgver=0.7.10
-pkgrel=1
+pkgver=0.7.11
+pkgrel=3
pkgdesc="A pure Python network address representation and manipulation library"
-arch=('i686' 'x86_64')
+arch=('any')
license=('BSD')
url="http://github.com/drkjam/netaddr/"
depends=('python2')
-source=("http://github.com/downloads/drkjam/netaddr/netaddr-$pkgver.tar.gz")
+optdepends=('ipython2: used to work with the netaddr interractive command')
+source=("https://github.com/drkjam/netaddr/archive/release-${pkgver}.tar.gz")
-build() {
- cd "$srcdir/netaddr-$pkgver/"
+package() {
+ cd "$srcdir/netaddr-release-$pkgver/"
python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ # the netaddr command is also provided by the python-netaddr package
+ mv "$pkgdir/usr/bin/netaddr" "$pkgdir/usr/bin/netaddr2"
}
diff --git a/pcr/python2-paste-deploy/PKGBUILD b/pcr/python2-paste-deploy/PKGBUILD
new file mode 100644
index 000000000..e3c6a08bd
--- /dev/null
+++ b/pcr/python2-paste-deploy/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Contributor: David Campbell <davekong@archlinux.us>
+# Contributor: Cilyan Olowen <gaknar@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+_pkgname=PasteDeploy
+pkgname=python2-paste-deploy
+pkgver=1.5.0
+pkgrel=2
+pkgdesc="Load, configure, and compose WSGI applications and servers"
+arch=(any)
+url=http://pythonpaste.org/deploy/
+license=(custom)
+depends=(python2)
+makedepends=(python2-setuptools)
+source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz)
+
+prepare() {
+ find $_pkgname-$pkgver -name '*.py' -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
+}
+
+build() {
+ cd $_pkgname-$pkgver/
+ python2 setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver/
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 docs/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/pcr/python2-repoze.lru/PKGBUILD b/pcr/python2-repoze.lru/PKGBUILD
new file mode 100644
index 000000000..d156d9bff
--- /dev/null
+++ b/pcr/python2-repoze.lru/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: DasIch <dasdasich@googlemail.com>
+# Contributor: James Bulmer <nekinie@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre <aurelien@hackers.camp>
+
+pkgname="python2-repoze.lru"
+pkgver=0.6
+pkgrel=2
+pkgdesc="A tiny LRU cache implementation and decorator"
+arch=("any")
+url="https://pypi.python.org/pypi/repoze.lru"
+license=("custom:BSD")
+depends=("python2")
+makedepends=("python2-setuptools")
+source=("https://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/repoze.lru-${pkgver}/"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/repoze.lru-${pkgver}/"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
diff --git a/pcr/python2-routes/PKGBUILD b/pcr/python2-routes/PKGBUILD
new file mode 100644
index 000000000..3e8ab08c5
--- /dev/null
+++ b/pcr/python2-routes/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: SpepS <dreamspepser@yahoo.it>
+# Contributor: James Bulmer <nekinie@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname="python2-routes"
+pkgver=2.0
+pkgrel=2
+pkgdesc="Routing recognition and generation tools"
+arch=("any")
+url="https://pypi.python.org/pypi/Routes"
+license=("custom:BSD")
+
+depends=(
+ "python2"
+ "python2-repoze.lru"
+)
+
+makedepends=("python2-setuptools")
+source=("https://pypi.python.org/packages/source/R/Routes/Routes-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/Routes-${pkgver}/"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/Routes-${pkgver}/"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
diff --git a/pcr/python2-sendfile/PKGBUILD b/pcr/python2-sendfile/PKGBUILD
index 8da81bcbf..714e8e07e 100644
--- a/pcr/python2-sendfile/PKGBUILD
+++ b/pcr/python2-sendfile/PKGBUILD
@@ -1,22 +1,21 @@
-# Contributor (Arch): Josh Chase <jcjoshuachase@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+# Contributor: Axilleas Pipinellis <axilleas@archlinux.info>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=python2-sendfile
-_pkgname=py-sendfile
-pkgver=1.2.3
-pkgrel=1
-pkgdesc="pysendfile"
-url="http://code.google.com/p/pysendfile"
+_pkgname=pysendfile
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="A Python interface to sendfile(2)"
+url="http://code.google.com/p/pysendfile/"
license=('MIT')
arch=('i686' 'x86_64')
-depends=('python2' 'setuptools')
-conflicts=()
-replaces=()
-backup=()
-source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+depends=('python2')
+makedepends=('python2-distribute')
+source=("https://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")
-build() {
+package() {
cd $srcdir/$_pkgname-$pkgver
- python2 setup.py build
- python2 setup.py install --root=$pkgdir
+ python2 setup.py install --root=$pkgdir --optimize=1
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python2-warlock/PKGBUILD b/pcr/python2-warlock/PKGBUILD
new file mode 100644
index 000000000..b11e1a420
--- /dev/null
+++ b/pcr/python2-warlock/PKGBUILD
@@ -0,0 +1,23 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python2-warlock
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Python object model built on JSON schema and JSON patch"
+arch=(any)
+url=https://github.com/bcwaldon/warlock
+license=(Apache)
+depends=(python2-jsonpatch)
+makedepends=(python2-setuptools)
+source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
+
+build() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+}
diff --git a/pcr/python2-wsgiref/PKGBUILD b/pcr/python2-wsgiref/PKGBUILD
new file mode 100644
index 000000000..3eafb7c9b
--- /dev/null
+++ b/pcr/python2-wsgiref/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Contributor: Philipp Schmidt <philschmidt@gmx.net>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python2-wsgiref
+pkgver=0.1.2
+pkgrel=2
+pkgdesc="WSGI (PEP 333) Reference Library"
+arch=(any)
+url=http://cheeseshop.python.org/pypi/wsgiref
+license=(PSF ZPL)
+depends=(python2)
+makedepends=(python2-setuptools)
+source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.zip)
+
+prepare() {
+ find ${pkgname#*-}-$pkgver -name '*.py' -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
+}
+
+build() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
diff --git a/pcr/python2-xattr/PKGBUILD b/pcr/python2-xattr/PKGBUILD
new file mode 100644
index 000000000..8f0fb1bca
--- /dev/null
+++ b/pcr/python2-xattr/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python2-xattr
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="Module for manipulating filesystem extended attributes"
+arch=(i686 x86_64)
+url=https://pypi.python.org/pypi/xattr/
+license=(MIT)
+depends=(python2 python2-cffi)
+makedepends=(python2-setuptools)
+source=(http://pypi.python.org/packages/source/x/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
+
+prepare() {
+ sed -ri 's:^#!/usr/bin/(env )?python$:&2:' ${pkgname#*-}-$pkgver/${pkgname#*-}/tool.py
+}
+
+build() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py build
+}
+
+package() {
+ cd ${pkgname#*-}-$pkgver/
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}