summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/erlang/PKGBUILD.mips64el71
-rw-r--r--~xihh/couchapp-git/PKGBUILD40
-rw-r--r--~xihh/couchdb-git/PKGBUILD64
-rw-r--r--~xihh/couchdb-git/couchdb.install22
-rw-r--r--~xihh/couchdb-git/rc-script.patch57
-rw-r--r--~xihh/python2-apsw/LICENSE15
-rw-r--r--~xihh/python2-apsw/PKGBUILD23
-rw-r--r--~xihh/python2-argh/PKGBUILD23
-rw-r--r--~xihh/python2-brownie/PKGBUILD23
-rw-r--r--~xihh/python2-http-parser/PKGBUILD30
-rw-r--r--~xihh/python2-pathtools/PKGBUILD41
-rw-r--r--~xihh/python2-restkit/PKGBUILD31
-rw-r--r--~xihh/python2-restkit/doc.patch14
-rw-r--r--~xihh/python2-socketpool/PKGBUILD26
-rw-r--r--~xihh/python2-socketpool/doc.patch14
-rw-r--r--~xihh/python2-watchdog/PKGBUILD25
16 files changed, 481 insertions, 38 deletions
diff --git a/community/erlang/PKGBUILD.mips64el b/community/erlang/PKGBUILD.mips64el
new file mode 100644
index 000000000..aa5b12792
--- /dev/null
+++ b/community/erlang/PKGBUILD.mips64el
@@ -0,0 +1,71 @@
+# $Id: PKGBUILD 67366 2012-03-10 17:20:02Z tdziedzic $
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
+# Contributor: Tom Burdick <thomas.burdick@wrightwoodtech.com>
+
+pkgname=erlang
+pkgver=R14B04
+pkgrel=2
+pkgdesc="A small concurrent functional programming language developed by Ericsson."
+arch=(i686 x86_64 'mips64el')
+url="http://www.erlang.org/index.html"
+license=('custom')
+depends=('ncurses' 'glibc')
+makedepends=('perl' 'openssl' 'wxgtk' 'unixodbc>=2.3.1' 'mesa')
+optdepends=('wxgtk: for wx support' 'unixodbc: database')
+
+options=('!makeflags')
+source=(http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz
+ http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz)
+md5sums=('4b469729f103f52702bfb1fb24529dc0'
+ 'f31e72518daae4007f595c0b224dd59f')
+
+# please check these deps reported by namcap when you do the next build:
+#erlang E: Dependency java-environment detected and not included (found class files usr/lib/erlang/lib/jinterface-1.5.4/priv/OtpErlang.jar, usr/lib/erlang/lib/ic-4.2.27/priv/ic.jar)
+#erlang E: Dependency mesa detected and not included (libraries ['usr/lib/libGLU.so.1'] needed in files ['usr/lib/erlang/lib/wx-0.99/priv/erl_gl.so'])
+
+
+build() {
+ cd "$srcdir/otp_src_${pkgver/./-}"
+ export ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk)
+ export ERLINTERFACEVERSION=$(sed -n 's/^EI_VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < lib/erl_interface/vsn.mk)
+
+ sed -i '/SSL_DYNAMIC_ONLY=/s:no:yes:' erts/configure
+
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" ./configure --prefix=/usr --enable-smp-support --enable-threads -enable-native-libs
+ make
+}
+
+package() {
+ cd "$srcdir/otp_src_${pkgver/./-}"
+ make INSTALL_PREFIX="$pkgdir" install
+
+# fix prefix
+ cd "$pkgdir"
+ for i in usr/lib/erlang/bin/erl \
+ usr/lib/erlang/bin/start \
+ usr/lib/erlang/erts-${ERTSVERSION}/bin/erl \
+ usr/lib/erlang/erts-${ERTSVERSION}/bin/start \
+ usr/lib/erlang/releases/RELEASES ;do
+ sed -i "s#$pkgdir##" $i
+ done
+
+# fix symlinks
+ cd "$pkgdir/usr/lib/erlang/bin"
+ ln -sf ../erts-${ERTSVERSION}/bin/epmd
+
+ cd "$pkgdir/usr/bin"
+ for file in *; do
+ ln -sfv ../lib/erlang/bin/$file
+ done
+
+ ln -s ../lib/erlang/lib/erl_interface-${ERLINTERFACEVERSION}/bin/erl_call "$pkgdir/usr/bin/erl_call"
+
+# install documentation
+ install -d "$pkgdir/usr/share/doc/erlang"
+ install -D -m644 "$srcdir"/{COPYRIGHT,PR.template,README} "$pkgdir/usr/share/doc/erlang"
+ cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang"
+
+ install -Dm644 "$srcdir/otp_src_${pkgver/./-}/EPLICENCE" "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE"
+
+}
diff --git a/~xihh/couchapp-git/PKGBUILD b/~xihh/couchapp-git/PKGBUILD
new file mode 100644
index 000000000..297426f3f
--- /dev/null
+++ b/~xihh/couchapp-git/PKGBUILD
@@ -0,0 +1,40 @@
+# Contributors: Moritz Heidkamp <moritz@twoticketsplease.de>, Sebastian Sauer <info@dynpages.de>
+pkgname=couchapp-git
+pkgver=20120413
+pkgrel=1
+pkgdesc="A set of helpers and a jQuery plugin that conspire to get you up and running on CouchDB quickly and correctly."
+arch=('any')
+url="http://github.com/couchapp/couchapp/"
+license=('APACHE')
+depends=('python2-restkit' 'python2-watchdog')
+makedepends=('git' 'setuptools')
+provides=(couchapp)
+
+_gitroot="git://github.com/couchapp/couchapp.git"
+_gitname="couchapp"
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d $_gitname ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+
+}
+
+package() {
+
+ cd "$srcdir/$_gitname-build"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+}
diff --git a/~xihh/couchdb-git/PKGBUILD b/~xihh/couchdb-git/PKGBUILD
new file mode 100644
index 000000000..91bb85cbf
--- /dev/null
+++ b/~xihh/couchdb-git/PKGBUILD
@@ -0,0 +1,64 @@
+# $Id: PKGBUILD 61260 2011-12-26 21:33:37Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
+# Previous Contributor: Michael Fellinger <m.fellinger@gmail.com>
+
+pkgname=couchdb-git
+pkgver=$(date -u +%Y%m%d)
+pkgrel=2
+pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://couchdb.apache.org"
+license=('APACHE')
+depends=('icu' 'erlang' 'js' 'openssl' 'curl')
+makedepends=('gcc' 'git')
+install=couchdb.install
+options=('!libtool')
+backup=('etc/couchdb/local.ini'
+ 'etc/conf.d/couchdb'
+ 'etc/logrotate.d/couchdb')
+source=("rc-script.patch")
+md5sums=('8a3b1a1ff98a6411827ad991db7a355b')
+
+_gitroot=git://github.com/apache/couchdb.git
+_gitname=couchdb-git
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ #
+ # BUILD HERE
+ #
+
+ [ -x configure ] || ./bootstrap
+ sed -i 's|-ljs|-lmozjs185|' configure
+ [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+ patch -R etc/init/couchdb <$srcdir/rc-script.patch
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 etc/default/couchdb $pkgdir/etc/conf.d/couchdb
+ sed -i 's|\(CONFIGURATION_FILE=/etc/\)default\(/couchdb\)|\1conf.d\2|' $pkgdir/etc/rc.d/couchdb
+ sed -i 's|\(COUCHDB_OPTIONS=\)|\1"-p /var/run/couchdb/couchdb.pid"|' $pkgdir/etc/conf.d/couchdb
+
+ rm -rf $pkgdir/etc/default/ $pkgdir/var/run
+}
diff --git a/~xihh/couchdb-git/couchdb.install b/~xihh/couchdb-git/couchdb.install
new file mode 100644
index 000000000..5eff459c7
--- /dev/null
+++ b/~xihh/couchdb-git/couchdb.install
@@ -0,0 +1,22 @@
+post_install() {
+ id couchdb &>/dev/null || \
+ useradd -r -c "CouchDB daemon" -g daemon -d /var/lib/couchdb -s /bin/false couchdb
+ mkdir -p /var/run/couchdb
+ chown -R couchdb.daemon /etc/couchdb
+ chown -R couchdb.daemon /var/{lib,log,run}/couchdb
+}
+
+pre_upgrade() {
+ id couchdb &>/dev/null || \
+ useradd -r -c "CouchDB daemon" -g daemon -d /var/lib/couchdb -s /bin/false couchdb
+}
+
+post_upgrade() {
+ mkdir -p $pkgdir/var/run/couchdb
+ chown -R couchdb.daemon /etc/couchdb
+ chown -R couchdb.daemon /var/{lib,log,run}/couchdb
+}
+
+post_remove() {
+ userdel couchdb &>/dev/null
+}
diff --git a/~xihh/couchdb-git/rc-script.patch b/~xihh/couchdb-git/rc-script.patch
new file mode 100644
index 000000000..1dd723ffc
--- /dev/null
+++ b/~xihh/couchdb-git/rc-script.patch
@@ -0,0 +1,57 @@
+--- couchdb 2011-12-27 01:21:59.000000000 +0400
++++ couchdb.my 2011-12-27 01:21:18.000000000 +0400
+@@ -1,6 +1,4 @@
+-#!/bin/bash
+-. /etc/rc.conf
+-. /etc/rc.d/functions
++#!/bin/sh -e
+
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ # use this file except in compliance with the License. You may obtain a copy of
+@@ -31,7 +29,7 @@
+ NAME=couchdb
+ SCRIPT_NAME=`basename $0`
+ COUCHDB=/usr/bin/couchdb
+-CONFIGURATION_FILE=/etc/conf.d/couchdb
++CONFIGURATION_FILE=/etc/default/couchdb
+ RUN_DIR=/var/run/couchdb
+ LSB_LIBRARY=/lib/lsb/init-functions
+
+@@ -44,14 +42,16 @@
+ fi
+
+ log_daemon_msg () {
+- stat_busy $@
++ # Dummy function to be replaced by LSB library.
++
++ echo $@
+ }
+
+ log_end_msg () {
++ # Dummy function to be replaced by LSB library.
++
+ if test "$1" != "0"; then
+- stat_fail
+- else
+- stat_done
++ echo "Error with $DESCRIPTION: $NAME"
+ fi
+ return $1
+ }
+@@ -66,7 +66,7 @@
+ command="$command $COUCHDB_OPTIONS"
+ fi
+ if test -n "$COUCHDB_USER"; then
+- if su $COUCHDB_USER -s /bin/bash -c "$command"; then
++ if su $COUCHDB_USER -c "$command"; then
+ return $SCRIPT_OK
+ else
+ return $SCRIPT_ERROR
+@@ -84,7 +84,6 @@
+ # Start Apache CouchDB as a background process.
+
+ mkdir -p "$RUN_DIR"
+- chown -R $COUCHDB_USER "$RUN_DIR"
+ command="$COUCHDB -b"
+ if test -n "$COUCHDB_STDOUT_FILE"; then
+ command="$command -o $COUCHDB_STDOUT_FILE"
diff --git a/~xihh/python2-apsw/LICENSE b/~xihh/python2-apsw/LICENSE
deleted file mode 100644
index a0470b2a0..000000000
--- a/~xihh/python2-apsw/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-Copyright (C) 2004-2009 Roger Binns
-
-This software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable
-for any damages arising from the use of this software.
-
-Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it
-and redistribute it freely, subject to the following restrictions:
-
-- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If
- you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not
- required.
-
-- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
-
-- This notice may not be removed or altered from any source distribution.
diff --git a/~xihh/python2-apsw/PKGBUILD b/~xihh/python2-apsw/PKGBUILD
deleted file mode 100644
index 92ce6d309..000000000
--- a/~xihh/python2-apsw/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# Maintainer: Linmiao Xu <linmiao.xu@gmail.com>
-# Contributor: Juan Miguel Cejuela <jmcejuela@ashrentum.net>
-
-pkgname=python2-apsw
-pkgver=3.7.9_r1
-pkgrel=1
-pkgdesc="Python wrapper for SQLite"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://code.google.com/p/apsw/"
-license=('MIT')
-depends=('python2' 'sqlite3')
-source=("http://apsw.googlecode.com/files/apsw-${pkgver//_/-}.zip" 'LICENSE')
-
-md5sums=('8188a05819553a7a9aad568db23850af'
- 'efc704d50cb39441d00f9dc76cbe6665')
-
-build() {
- cd $srcdir/apsw-${pkgver//_/-}
- python2 setup.py install --root=$pkgdir/
-
- install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
diff --git a/~xihh/python2-argh/PKGBUILD b/~xihh/python2-argh/PKGBUILD
new file mode 100644
index 000000000..7805d47be
--- /dev/null
+++ b/~xihh/python2-argh/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Andrey Mikhaylenko <neithere at gmail dot com>
+# Contributor: Fabien Devaux <fdev31 at gmail dot com>
+pkgname=python2-argh
+pkgver=0.15.1
+pkgrel=1
+pkgdesc="A simple argparse wrapper"
+arch=('any')
+url="http://bitbucket.org/neithere/argh/"
+license=('LGPL3')
+depends=('python2')
+makedepends=('python2-distribute')
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=(http://pypi.python.org/packages/source/a/argh/argh-${pkgver}.tar.gz)
+md5sums=('64d92b85819df18b817f7e076bd4ed3b')
+
+package() {
+ cd "${srcdir}/argh-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
diff --git a/~xihh/python2-brownie/PKGBUILD b/~xihh/python2-brownie/PKGBUILD
new file mode 100644
index 000000000..85f77baf8
--- /dev/null
+++ b/~xihh/python2-brownie/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=python2-brownie
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="Python Utility Library from Pocoo."
+url="http://packages.python.org/Brownie"
+depends=('python2')
+makedepends=('python2-distribute')
+license=('custom:BSD')
+arch=('i686' 'x86_64' 'mips64el')
+source=("http://pypi.python.org/packages/source/B/Brownie/Brownie-$pkgver.tar.gz")
+md5sums=('c79089d747777f4754656b41998e5685')
+
+build() {
+ cd $srcdir/Brownie-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/Brownie-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -m644 -D LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+}
diff --git a/~xihh/python2-http-parser/PKGBUILD b/~xihh/python2-http-parser/PKGBUILD
new file mode 100644
index 000000000..697e30aa1
--- /dev/null
+++ b/~xihh/python2-http-parser/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname='python2-http-parser'
+pkgver=0.7.3
+pkgrel=1
+pkgdesc="HTTP request/response parser for Python."
+arch=('i686' 'x86_64' 'mips64el')
+url="https://github.com/benoitc/http-parser"
+license=('custom:MIT')
+makedepends=('python2-distribute')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/h/http-parser/http-parser-${pkgver}.tar.gz")
+md5sums=('0adf47b79905e31c1f53414ab279987e')
+
+build() {
+ cd "$srcdir/http-parser-$pkgver"
+
+ python2 setup.py build
+
+}
+
+package() {
+
+ depends=('python2')
+
+ cd "$srcdir/http-parser-$pkgver"
+ python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/python2-python-http-parser"
+ install -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-python-http-parser/"
+}
diff --git a/~xihh/python2-pathtools/PKGBUILD b/~xihh/python2-pathtools/PKGBUILD
new file mode 100644
index 000000000..ea1bddc28
--- /dev/null
+++ b/~xihh/python2-pathtools/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Joshua Haase <hahj87@gmail.com>
+
+pkgname=python2-pathtools
+pkgver=$(date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="Pattern matching and various utilities for file systems paths."
+arch=('any')
+url="https://github.com/gorakhargosh/pathtools"
+license=('custom:MIT')
+depends=('python2')
+makedepends=('git')
+options=(!emptydirs)
+
+_gitroot="git://github.com/gorakhargosh/pathtools.git"
+_gitname="pathtools"
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d "$_gitname" ] ; then
+ cd "$_gitname" && git pull origin
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/${_gitname}-build"
+ git clone "$srcdir/${_gitname}" "$srcdir/${_gitname}-build"
+
+}
+
+package() {
+ cd "$srcdir/${_gitname}-build"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ install -m 644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname"
+}
diff --git a/~xihh/python2-restkit/PKGBUILD b/~xihh/python2-restkit/PKGBUILD
new file mode 100644
index 000000000..244ff1f17
--- /dev/null
+++ b/~xihh/python2-restkit/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=python2-restkit
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Restkit is an HTTP resource kit for Python. It allows you to easily access to HTTP resource and build objects around it."
+arch=('any')
+url="http://benoitc.github.com/restkit/index.html"
+license=('MIT')
+depends=('python2-http-parser' 'python2-socketpool')
+makedepends=('python2-distribute')
+provides=()
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/r/restkit/restkit-$pkgver.tar.gz"
+ "doc.patch")
+md5sums=('1bb0fa0115f82803472a2a6a8a30cf30'
+ '87fa9d990c28e3f328b31e322343b157')
+
+package() {
+ cd "$srcdir/restkit-$pkgver"
+
+ # Install doc at the proper location
+ patch -p1 < "$srcdir/doc.patch"
+
+ # Remove tests directory (conflicts with other python packages)
+ rm -rf tests
+
+ python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1
+
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/~xihh/python2-restkit/doc.patch b/~xihh/python2-restkit/doc.patch
new file mode 100644
index 000000000..f8e5a99d9
--- /dev/null
+++ b/~xihh/python2-restkit/doc.patch
@@ -0,0 +1,14 @@
+diff -ru restkit-4.0.0/setup.py restkit-4.0.0.new/setup.py
+--- restkit-4.0.0/setup.py 2012-01-25 03:47:45.000000000 +0100
++++ restkit-4.0.0.new/setup.py 2012-01-26 21:17:10.211046123 +0100
+@@ -39,8 +39,8 @@
+ long_description = f.read()
+
+ DATA_FILES = [
+- ('restkit', ["LICENSE", "MANIFEST.in", "NOTICE", "README.rst",
+- "THANKS", "TODO.txt"])
++ ('share/doc/restkit', ["LICENSE", "MANIFEST.in", "NOTICE",
++ "README.rst", "THANKS", "TODO.txt"])
+ ]
+
+ options=dict(
diff --git a/~xihh/python2-socketpool/PKGBUILD b/~xihh/python2-socketpool/PKGBUILD
new file mode 100644
index 000000000..9c853efea
--- /dev/null
+++ b/~xihh/python2-socketpool/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=python2-socketpool
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Socket pool is a simple socket pool that suports multiple factories and backends. It can easily be used by gevent, eventlet or any other library."
+arch=('any')
+url="https://github.com/benoitc/socketpool"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-distribute')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/s/socketpool/socketpool-$pkgver.tar.gz"
+ "doc.patch")
+md5sums=('aa7829958eb5df7f69f43c2946b17956'
+ 'b647167a37276f6dce2b9dc427a46dcc')
+
+package() {
+ cd "$srcdir/socketpool-$pkgver"
+
+ # Install doc at the proper location
+ patch -p1 < "$srcdir/doc.patch"
+
+ python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/~xihh/python2-socketpool/doc.patch b/~xihh/python2-socketpool/doc.patch
new file mode 100644
index 000000000..19ae3cd58
--- /dev/null
+++ b/~xihh/python2-socketpool/doc.patch
@@ -0,0 +1,14 @@
+diff -ru socketpool-0.2.3.old/setup.py socketpool-0.2.3/setup.py
+--- socketpool-0.2.3.old/setup.py 2012-01-26 21:57:45.947850603 +0100
++++ socketpool-0.2.3/setup.py 2012-01-26 21:58:04.771081964 +0100
+@@ -23,8 +23,8 @@
+ long_description = f.read()
+
+ DATA_FILES = [
+- ('socketpool', ["LICENSE", "MANIFEST.in", "NOTICE", "README.rst",
+- "THANKS", "UNLICENSE"])
++ ('share/doc/socketpool', ["LICENSE", "MANIFEST.in", "NOTICE",
++ "README.rst", "THANKS", "UNLICENSE"])
+ ]
+
+
diff --git a/~xihh/python2-watchdog/PKGBUILD b/~xihh/python2-watchdog/PKGBUILD
new file mode 100644
index 000000000..15bc2f4a3
--- /dev/null
+++ b/~xihh/python2-watchdog/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Joshua Haase <hahj87@gmail.com>
+pkgname=python2-watchdog
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Python API library and shell utilities to monitor file system events."
+arch=('any')
+url="http://packages.python.org/watchdog/"
+license=('Apache')
+groups=()
+depends=('python2-pathtools' 'python2-argh' 'python2-yaml' 'python2-brownie')
+makedepends=('python2-distribute')
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=(http://pypi.python.org/packages/source/w/watchdog/watchdog-$pkgver.tar.gz)
+md5sums=('6e8fb84aa6bdeb2054906bdf40048eba')
+
+package() {
+ cd "$srcdir/watchdog-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+}