[arch-commits] Commit in libmongoc/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Aug 12 05:09:49 UTC 2016


    Date: Friday, August 12, 2016 @ 05:09:49
  Author: felixonmars
Revision: 186467

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libmongoc/repos/community-i686/PKGBUILD
    (from rev 186466, libmongoc/trunk/PKGBUILD)
  libmongoc/repos/community-x86_64/PKGBUILD
    (from rev 186466, libmongoc/trunk/PKGBUILD)
Deleted:
  libmongoc/repos/community-i686/PKGBUILD
  libmongoc/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   62 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   44 -------------------------------
 community-x86_64/PKGBUILD |   44 -------------------------------
 3 files changed, 62 insertions(+), 88 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-08-12 05:09:25 UTC (rev 186466)
+++ community-i686/PKGBUILD	2016-08-12 05:09:49 UTC (rev 186467)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=libmongoc
-pkgver=1.3.5
-pkgrel=1
-pkgdesc='A client library written in C for MongoDB'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org/display/DOCS/C+Language+Center'
-license=('Apache')
-depends=('libbson' 'libsasl')
-makedepends=('git')
-checkdepends=('mongodb')
-source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-build() {
-    cd "$srcdir/mongo-c-driver"
-    PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
-    make
-}
-
-# check() {
-#     _mongod_run() {
-#         # Start a mongod instance for test
-#         rm -rf "$srcdir/mongo_tmp"
-#         mkdir "$srcdir/mongo_tmp"
-#         rm -f "$srcdir/mongo_tmp.pid"
-#         [[ "$CARCH" == "i686" ]] && _dbengine="--storageEngine=mmapv1"
-#         mongod --bind_ip localhost --port 27017 --dbpath "$srcdir/mongo_tmp" --journal $_dbengine \
-#              --nohttpinterface --noauth --smallfiles --nssize 1 --fork --pidfilepath "$srcdir/mongo_tmp.pid" --logpath "$srcdir/mongo_tmp.log"
-
-#         "$@"
-#         kill $(cat "$srcdir/mongo_tmp.pid")
-#     }
-
-#     cd "$srcdir/mongo-c-driver"
-#     _mongod_run make test
-# }
-
-package() {
-    cd "$srcdir/mongo-c-driver"
-    make DESTDIR="$pkgdir/" install
-}

Copied: libmongoc/repos/community-i686/PKGBUILD (from rev 186466, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-08-12 05:09:49 UTC (rev 186467)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libbson' 'libsasl')
+makedepends=('git')
+checkdepends=('mongodb' 'python-pifpaf')
+source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+    cd "$srcdir/mongo-c-driver"
+    PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+    make
+}
+
+check() {
+    cd "$srcdir/mongo-c-driver"
+    pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+    cd "$srcdir/mongo-c-driver"
+    make DESTDIR="$pkgdir/" install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-08-12 05:09:25 UTC (rev 186466)
+++ community-x86_64/PKGBUILD	2016-08-12 05:09:49 UTC (rev 186467)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=libmongoc
-pkgver=1.3.5
-pkgrel=1
-pkgdesc='A client library written in C for MongoDB'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org/display/DOCS/C+Language+Center'
-license=('Apache')
-depends=('libbson' 'libsasl')
-makedepends=('git')
-checkdepends=('mongodb')
-source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-build() {
-    cd "$srcdir/mongo-c-driver"
-    PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
-    make
-}
-
-# check() {
-#     _mongod_run() {
-#         # Start a mongod instance for test
-#         rm -rf "$srcdir/mongo_tmp"
-#         mkdir "$srcdir/mongo_tmp"
-#         rm -f "$srcdir/mongo_tmp.pid"
-#         [[ "$CARCH" == "i686" ]] && _dbengine="--storageEngine=mmapv1"
-#         mongod --bind_ip localhost --port 27017 --dbpath "$srcdir/mongo_tmp" --journal $_dbengine \
-#              --nohttpinterface --noauth --smallfiles --nssize 1 --fork --pidfilepath "$srcdir/mongo_tmp.pid" --logpath "$srcdir/mongo_tmp.log"
-
-#         "$@"
-#         kill $(cat "$srcdir/mongo_tmp.pid")
-#     }
-
-#     cd "$srcdir/mongo-c-driver"
-#     _mongod_run make test
-# }
-
-package() {
-    cd "$srcdir/mongo-c-driver"
-    make DESTDIR="$pkgdir/" install
-}

Copied: libmongoc/repos/community-x86_64/PKGBUILD (from rev 186466, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-08-12 05:09:49 UTC (rev 186467)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libbson' 'libsasl')
+makedepends=('git')
+checkdepends=('mongodb' 'python-pifpaf')
+source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+    cd "$srcdir/mongo-c-driver"
+    PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+    make
+}
+
+check() {
+    cd "$srcdir/mongo-c-driver"
+    pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+    cd "$srcdir/mongo-c-driver"
+    make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list