[arch-commits] Commit in python-pymongo/repos (4 files)
Felix Yan
fyan at archlinux.org
Wed Apr 22 05:23:03 UTC 2015
Date: Wednesday, April 22, 2015 @ 07:23:03
Author: fyan
Revision: 131868
archrelease: copy trunk to community-x86_64, community-i686
Added:
python-pymongo/repos/community-i686/PKGBUILD
(from rev 131867, python-pymongo/trunk/PKGBUILD)
python-pymongo/repos/community-x86_64/PKGBUILD
(from rev 131867, python-pymongo/trunk/PKGBUILD)
Deleted:
python-pymongo/repos/community-i686/PKGBUILD
python-pymongo/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 146 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 73 ----------------------
community-x86_64/PKGBUILD | 73 ----------------------
3 files changed, 146 insertions(+), 146 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-04-22 05:22:20 UTC (rev 131867)
+++ community-i686/PKGBUILD 2015-04-22 05:23:03 UTC (rev 131868)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgbase=python-pymongo
-pkgname=('python-pymongo' 'python2-pymongo')
-pkgver=3.0
-pkgrel=1
-pkgdesc='Python module for using MongoDB'
-arch=('x86_64' 'i686')
-license=('APACHE')
-url='http://pypi.python.org/pypi/pymongo/'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'mongodb' 'perl')
-optdepends=('mongodb: High-performance schema-free document-oriented database')
-source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
-sha256sums=('1919bed7ad5d73940a6628b7420d326128dc68f3f67d4158abacff8b72a4eaa7')
-
-prepare() {
- cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
-}
-
-build() {
- cd "$srcdir/pymongo-$pkgver"
- python setup.py build
-
- cd "$srcdir/pymongo2-$pkgver"
- python2 setup.py build
-}
-
-check() {
- _mongod_run() {
- MONGO_TMP_PORT=$(perl -MSocket -le 'socket S, PF_INET, SOCK_STREAM,getprotobyname("tcp");
- $port = 50000;
- ++$port until bind S, sockaddr_in($port,inet_aton("127.1"));
- print $port')
- echo "Picked port $MONGO_TMP_PORT to run tests with."
-
- # Start a mongod instance for test
- rm -rf "$srcdir/mongo_tmp"
- mkdir "$srcdir/mongo_tmp"
- rm -f "$srcdir/mongo_tmp.pid"
- mongod --bind_ip localhost --port $MONGO_TMP_PORT --dbpath "$srcdir/mongo_tmp" --nojournal \
- --nohttpinterface --noauth --smallfiles --nssize 1 --fork --pidfilepath "$srcdir/mongo_tmp.pid" --logpath "$srcdir/mongo_tmp.log"
-
- DB_PORT=$MONGO_TMP_PORT "$@"
- kill $(cat "$srcdir/mongo_tmp.pid")
- }
-
- cd "$srcdir/pymongo-$pkgver"
- _mongod_run python setup.py test
-
- cd "$srcdir/pymongo2-$pkgver"
- _mongod_run python2 setup.py test
-}
-
-package_python2-pymongo() {
- depends=('python2')
-
- cd "pymongo2-$pkgver"
- python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
-}
-
-package_python-pymongo() {
- depends=('python')
-
- cd "pymongo-$pkgver"
- python setup.py install --root="$pkgdir" --skip-build --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pymongo/repos/community-i686/PKGBUILD (from rev 131867, python-pymongo/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-04-22 05:23:03 UTC (rev 131868)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgbase=python-pymongo
+pkgname=('python-pymongo' 'python2-pymongo')
+pkgver=3.0.1
+pkgrel=1
+pkgdesc='Python module for using MongoDB'
+arch=('x86_64' 'i686')
+license=('APACHE')
+url='http://pypi.python.org/pypi/pymongo/'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'mongodb' 'perl')
+optdepends=('mongodb: High-performance schema-free document-oriented database')
+source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
+sha256sums=('d26076e838335d33d10f35f5b94a5a618a7aea5519c889b9ec473b23200b1237')
+
+prepare() {
+ cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
+}
+
+build() {
+ cd "$srcdir/pymongo-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/pymongo2-$pkgver"
+ python2 setup.py build
+}
+
+check() {
+ _mongod_run() {
+ MONGO_TMP_PORT=$(perl -MSocket -le 'socket S, PF_INET, SOCK_STREAM,getprotobyname("tcp");
+ $port = 50000;
+ ++$port until bind S, sockaddr_in($port,inet_aton("127.1"));
+ print $port')
+ echo "Picked port $MONGO_TMP_PORT to run tests with."
+
+ # Start a mongod instance for test
+ rm -rf "$srcdir/mongo_tmp"
+ mkdir "$srcdir/mongo_tmp"
+ rm -f "$srcdir/mongo_tmp.pid"
+ mongod --bind_ip localhost --port $MONGO_TMP_PORT --dbpath "$srcdir/mongo_tmp" --nojournal \
+ --nohttpinterface --noauth --smallfiles --nssize 1 --fork --pidfilepath "$srcdir/mongo_tmp.pid" --logpath "$srcdir/mongo_tmp.log"
+
+ DB_PORT=$MONGO_TMP_PORT "$@"
+ kill $(cat "$srcdir/mongo_tmp.pid")
+ }
+
+ cd "$srcdir/pymongo-$pkgver"
+ _mongod_run python setup.py test
+
+ cd "$srcdir/pymongo2-$pkgver"
+ _mongod_run python2 setup.py test
+}
+
+package_python2-pymongo() {
+ depends=('python2')
+
+ cd "pymongo2-$pkgver"
+ python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
+}
+
+package_python-pymongo() {
+ depends=('python')
+
+ cd "pymongo-$pkgver"
+ python setup.py install --root="$pkgdir" --skip-build --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-04-22 05:22:20 UTC (rev 131867)
+++ community-x86_64/PKGBUILD 2015-04-22 05:23:03 UTC (rev 131868)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgbase=python-pymongo
-pkgname=('python-pymongo' 'python2-pymongo')
-pkgver=3.0
-pkgrel=1
-pkgdesc='Python module for using MongoDB'
-arch=('x86_64' 'i686')
-license=('APACHE')
-url='http://pypi.python.org/pypi/pymongo/'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'mongodb' 'perl')
-optdepends=('mongodb: High-performance schema-free document-oriented database')
-source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
-sha256sums=('1919bed7ad5d73940a6628b7420d326128dc68f3f67d4158abacff8b72a4eaa7')
-
-prepare() {
- cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
-}
-
-build() {
- cd "$srcdir/pymongo-$pkgver"
- python setup.py build
-
- cd "$srcdir/pymongo2-$pkgver"
- python2 setup.py build
-}
-
-check() {
- _mongod_run() {
- MONGO_TMP_PORT=$(perl -MSocket -le 'socket S, PF_INET, SOCK_STREAM,getprotobyname("tcp");
- $port = 50000;
- ++$port until bind S, sockaddr_in($port,inet_aton("127.1"));
- print $port')
- echo "Picked port $MONGO_TMP_PORT to run tests with."
-
- # Start a mongod instance for test
- rm -rf "$srcdir/mongo_tmp"
- mkdir "$srcdir/mongo_tmp"
- rm -f "$srcdir/mongo_tmp.pid"
- mongod --bind_ip localhost --port $MONGO_TMP_PORT --dbpath "$srcdir/mongo_tmp" --nojournal \
- --nohttpinterface --noauth --smallfiles --nssize 1 --fork --pidfilepath "$srcdir/mongo_tmp.pid" --logpath "$srcdir/mongo_tmp.log"
-
- DB_PORT=$MONGO_TMP_PORT "$@"
- kill $(cat "$srcdir/mongo_tmp.pid")
- }
-
- cd "$srcdir/pymongo-$pkgver"
- _mongod_run python setup.py test
-
- cd "$srcdir/pymongo2-$pkgver"
- _mongod_run python2 setup.py test
-}
-
-package_python2-pymongo() {
- depends=('python2')
-
- cd "pymongo2-$pkgver"
- python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
-}
-
-package_python-pymongo() {
- depends=('python')
-
- cd "pymongo-$pkgver"
- python setup.py install --root="$pkgdir" --skip-build --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pymongo/repos/community-x86_64/PKGBUILD (from rev 131867, python-pymongo/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-04-22 05:23:03 UTC (rev 131868)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgbase=python-pymongo
+pkgname=('python-pymongo' 'python2-pymongo')
+pkgver=3.0.1
+pkgrel=1
+pkgdesc='Python module for using MongoDB'
+arch=('x86_64' 'i686')
+license=('APACHE')
+url='http://pypi.python.org/pypi/pymongo/'
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python2-gevent' 'mongodb' 'perl')
+optdepends=('mongodb: High-performance schema-free document-oriented database')
+source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz")
+sha256sums=('d26076e838335d33d10f35f5b94a5a618a7aea5519c889b9ec473b23200b1237')
+
+prepare() {
+ cp -a "pymongo-$pkgver" "pymongo2-$pkgver"
+}
+
+build() {
+ cd "$srcdir/pymongo-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/pymongo2-$pkgver"
+ python2 setup.py build
+}
+
+check() {
+ _mongod_run() {
+ MONGO_TMP_PORT=$(perl -MSocket -le 'socket S, PF_INET, SOCK_STREAM,getprotobyname("tcp");
+ $port = 50000;
+ ++$port until bind S, sockaddr_in($port,inet_aton("127.1"));
+ print $port')
+ echo "Picked port $MONGO_TMP_PORT to run tests with."
+
+ # Start a mongod instance for test
+ rm -rf "$srcdir/mongo_tmp"
+ mkdir "$srcdir/mongo_tmp"
+ rm -f "$srcdir/mongo_tmp.pid"
+ mongod --bind_ip localhost --port $MONGO_TMP_PORT --dbpath "$srcdir/mongo_tmp" --nojournal \
+ --nohttpinterface --noauth --smallfiles --nssize 1 --fork --pidfilepath "$srcdir/mongo_tmp.pid" --logpath "$srcdir/mongo_tmp.log"
+
+ DB_PORT=$MONGO_TMP_PORT "$@"
+ kill $(cat "$srcdir/mongo_tmp.pid")
+ }
+
+ cd "$srcdir/pymongo-$pkgver"
+ _mongod_run python setup.py test
+
+ cd "$srcdir/pymongo2-$pkgver"
+ _mongod_run python2 setup.py test
+}
+
+package_python2-pymongo() {
+ depends=('python2')
+
+ cd "pymongo2-$pkgver"
+ python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
+}
+
+package_python-pymongo() {
+ depends=('python')
+
+ cd "pymongo-$pkgver"
+ python setup.py install --root="$pkgdir" --skip-build --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list