diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mongo-c-driver/APKBUILD | 61 | ||||
-rw-r--r-- | testing/mongo-c-driver/generate_uninstall.patch | 13 | ||||
-rw-r--r-- | testing/mongo-php7-library/APKBUILD | 33 | ||||
-rw-r--r-- | testing/py-flask-mongoengine/APKBUILD | 41 | ||||
-rw-r--r-- | testing/py-flask-pymongo/APKBUILD | 41 | ||||
-rw-r--r-- | testing/py-flask-views/APKBUILD | 41 | ||||
-rw-r--r-- | testing/py-mongo/APKBUILD | 55 |
7 files changed, 0 insertions, 285 deletions
diff --git a/testing/mongo-c-driver/APKBUILD b/testing/mongo-c-driver/APKBUILD deleted file mode 100644 index 1bc9626d0c..0000000000 --- a/testing/mongo-c-driver/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=mongo-c-driver -pkgver=1.13.0 -pkgrel=0 -pkgdesc="Client library written in C for MongoDB" -url="https://github.com/mongodb/mongo-c-driver" -arch="all !x86 !armhf !armv7" # testsuite fails on x86 and armhf -license="Apache-2.0" -makedepends="openssl-dev snappy-dev zlib-dev libtool py3-sphinx cmake" -subpackages="$pkgname-dev $pkgname-doc libbson" -source="https://github.com/mongodb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz - generate_uninstall.patch - " -builddir="$srcdir/$pkgname-$pkgver" - -case "$CARCH" in - # FIXME: Tests hang on aarch64. - aarch64) options="!check";; -esac - -build() { - mkdir -p "$srcdir"/build - cd "$srcdir"/build - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DENABLE_BSON:STRING=ON \ - -DENABLE_MONGOC:BOOL=ON \ - -DENABLE_SSL:STRING=OPENSSL \ - -DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF \ - -DENABLE_MAN_PAGES:BOOL=ON \ - -DENABLE_TESTS:BOOL=ON \ - -DENABLE_EXAMPLES:BOOL=OFF \ - -DSPHINX_EXECUTABLE:STRING=/usr/bin/sphinx-build-3 \ - -DCMAKE_SKIP_RPATH=ON \ - "$builddir" - make -} - -check() { - cd "$srcdir"/build - export MONGOC_TEST_SKIP_MOCK=on - export MONGOC_TEST_SKIP_SLOW=on - export MONGOC_TEST_SKIP_LIVE=on - make check -} - -package() { - cd "$srcdir"/build - make DESTDIR="$pkgdir" install -} - -libbson() { - pkgdesc="Building, parsing, and iterating BSON documents" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/libbson-* "$subpkgdir"/usr/lib/ -} - -sha512sums="01b17857a1cb843b133975594772c094edecb6c149d8628eaa42de1855152185114186d0e8d829e99c9106c133018b1242e34e3ac511a36b2b7a38baea5f5aba mongo-c-driver-1.13.0.tar.gz -494800bb53585f2b911b672263d32e2af1ce818bbff55623fde8c06477429010e9ca31b905175a08d1554499c497af6514f74c9071f4f9d9b2d82077d6ddad4f generate_uninstall.patch" diff --git a/testing/mongo-c-driver/generate_uninstall.patch b/testing/mongo-c-driver/generate_uninstall.patch deleted file mode 100644 index 1434ae4283..0000000000 --- a/testing/mongo-c-driver/generate_uninstall.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f7a0dfe..d63b93e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -347,7 +347,7 @@ set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver") - # - # This needs to be last (after all other add_subdirectory calls) to ensure that - # the generated uninstall program is complete and correct --add_subdirectory (generate_uninstall) -+# add_subdirectory (generate_uninstall) - - add_custom_target (uninstall - COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}" diff --git a/testing/mongo-php7-library/APKBUILD b/testing/mongo-php7-library/APKBUILD deleted file mode 100644 index f419e643d1..0000000000 --- a/testing/mongo-php7-library/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> - -_php=php7 -pkgname=mongo-${_php}-library -_realname=mongo-php-library -pkgver=1.4.2 -pkgrel=0 -pkgdesc="High-level abstraction around the lower-level drivers for PHP" -url="https://github.com/mongodb/mongo-php-library" -arch="noarch" -license="Apache-2.0" -makedepends="$depends_dev ${_php}-mongodb" -subpackages="$pkgname-doc" -options="!check" # require mongodb server -source="$_realname-$pkgver.tar.gz::https://github.com/mongodb/$_realname/archive/$pkgver.tar.gz" -builddir="$srcdir"/$_realname-$pkgver - -build() { - cd "$builddir" - return 0 -} - -package() { - cd "$builddir" - mkdir -p "$pkgdir"/usr/share/doc/mongo-${_php}-library/docs - mkdir -p "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb - mv src/* "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb - mv tests "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb/ - mv docs/* "$pkgdir"/usr/share/doc/mongo-${_php}-library/docs - mv LICENSE README.md "$pkgdir"/usr/share/doc/mongo-${_php}-library -} - -sha512sums="c473b85f60fd942f591c712187d68744b95472f11450af5bcd1768d79fb0e3ffe08c486fad72898fe5fd3002e865ea79959767b80830db92bd92d87f52877f33 mongo-php-library-1.4.2.tar.gz" diff --git a/testing/py-flask-mongoengine/APKBUILD b/testing/py-flask-mongoengine/APKBUILD deleted file mode 100644 index f722bae3e5..0000000000 --- a/testing/py-flask-mongoengine/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flask-mongoengine -_pkgname=flask-mongoengine -pkgver=0.7.0 -pkgrel=0 -pkgdesc="Flask mongoDB interface" -url="https://pypi.python.org/pypi/flask-mongoengine" -arch="noarch" -license="BSD" -depends="python2 py-flask py-flask-wtf py-mongo" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python2 setup.py build || return 1 -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="9219a08bb4ca7503904bb941084fee52 flask-mongoengine-0.7.0.tar.gz" -sha256sums="e5031d1f812181699b10fec76d7c9c6633f19f8b686dcee48371e9216884f2b4 flask-mongoengine-0.7.0.tar.gz" -sha512sums="3a9ce923b5d391e4fbdacc87d32e6cd8e0ada592c9fce585cf6dc38b8c116966cd70c83c2f2b77f580348722351c129ef38d7788f9ae2bd27d043de0d5487493 flask-mongoengine-0.7.0.tar.gz" diff --git a/testing/py-flask-pymongo/APKBUILD b/testing/py-flask-pymongo/APKBUILD deleted file mode 100644 index db749208e8..0000000000 --- a/testing/py-flask-pymongo/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flask-pymongo -_pkgname=Flask-PyMongo -pkgver=0.3.0 -pkgrel=0 -pkgdesc="Flask PyMongo extension" -url="https://pypi.python.org/pypi/Flask-PyMongo" -arch="noarch" -license="BSD" -depends="python2 py-flask py-mongo" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python2 setup.py build || return 1 -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="594fcb7df267f8312aa5243118fe3886 Flask-PyMongo-0.3.0.tar.gz" -sha256sums="0b01adc037994587c21b617160f6ad9f6ab12b547f518c65da4eafb035b9d617 Flask-PyMongo-0.3.0.tar.gz" -sha512sums="f6cee603de9a8a1cd08f3ff2e400c16268dfc63754198ffddd9500784066d2b9ec63e002e38da061541b8aa8304b9376c214a3219990fd73b4caf09518df711e Flask-PyMongo-0.3.0.tar.gz" diff --git a/testing/py-flask-views/APKBUILD b/testing/py-flask-views/APKBUILD deleted file mode 100644 index 2c8bbb38c3..0000000000 --- a/testing/py-flask-views/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-flask-views -_pkgname=Flask-Views -pkgver=0.2.1 -pkgrel=0 -pkgdesc="Flask class based views extension" -url="https://pypi.python.org/pypi/Flask-Views" -arch="noarch" -license="BSD" -depends="python2 py-flask py-flask-mongoengine" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python2 setup.py build || return 1 -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="89fd9c04d6721e8b04c42b999170e74a Flask-Views-0.2.1.tar.gz" -sha256sums="4aa75c8fb0cd9c07a30ab288774de710fda1136eb6ff18404b2f72513894d384 Flask-Views-0.2.1.tar.gz" -sha512sums="cd70caebffb1427d18d58a06e196e404c426616345b487ebf08f936afeac37ba46a4757e526cb910bd4451456788766a0cb17eb58f3af55553fc0fd3f0984db7 Flask-Views-0.2.1.tar.gz" diff --git a/testing/py-mongo/APKBUILD b/testing/py-mongo/APKBUILD deleted file mode 100644 index d85f4ce849..0000000000 --- a/testing/py-mongo/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Danilo Falcão <danilo@falcao.org> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-mongo -_pkgname=pymongo -pkgver=3.7.2 -pkgrel=0 -pkgdesc="A Python driver for MongoDB" -url="https://github.com/mongodb/mongo-python-driver" -arch="all" -license="Apache-2.0" -depends="" -makedepends="python2-dev python3-dev py-setuptools" -install="" -subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - - -package() { - mkdir -p "$pkgdir" -} - - -check() { - cd "$builddir" - python2 setup.py test - python3 setup.py test -} - -_py2() { - replaces="$pkgname" - _py python2 -} - -_py3() { - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="4d1dfe03d94f381f27cfb5c8dd4f75ecbab90567fdc4dd594b880031e68825eda6285c8b261a4c9d76fb7ccc92c91e27ae2f696525f7732b1f0084794042a33d pymongo-3.7.2.tar.gz" |