diff options
Diffstat (limited to 'dev-python/elasticsearch-py')
-rw-r--r-- | dev-python/elasticsearch-py/Manifest | 19 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/metadata.xml | 19 |
8 files changed, 0 insertions, 650 deletions
diff --git a/dev-python/elasticsearch-py/Manifest b/dev-python/elasticsearch-py/Manifest deleted file mode 100644 index c9f19f5d6b3e..000000000000 --- a/dev-python/elasticsearch-py/Manifest +++ /dev/null @@ -1,19 +0,0 @@ -DIST elasticsearch-5.6.7.tar.gz 33789994 BLAKE2B 4e5f4e55cb3875adee7528e26187659b5bac7b2def9d22d438f888fb33ce116654b54859d8430b203c14939bd3821240f8ed209ce120388256e9389ab9acd11c SHA512 2c9fbe8d3ccdced6242b5d876cb9a25a3ef1b94f9de0720aa438458b0235082220621afffe7976664bf08b13b4aee157c28a5d519b5594e6d9d7855c24e93056 -DIST elasticsearch-5.6.9.tar.gz 33794793 BLAKE2B a056443b1f71b3af773b5195147927017456e1c9a6517c549cfe7e4ec70f0ff4ec9363c9ef6376b7b942e82f811cd5927d44eb9f9eb8022a56e54a85b4ba7c46 SHA512 4e61a4c5f79d0439a414f1e9361f855cdb2f79322cf592bad43132605922fb8ded6368b01e05ef6bcbee49911943c2a3b6be5fd6d0900abddfe03c736cca96d6 -DIST elasticsearch-6.0.1.tar.gz 28026460 BLAKE2B a70cd36affaccccf1ea552167e585a35cc748de1137cf4b23387798ae31b851104ccc19f8be83ecc645bcebfba344b5e55a397a9cbb0b380c4a118f1f0ffecf2 SHA512 b86a04acd194e7e96e3a32de6ab4983d6569ffb1714f2af9e2b49623004987e13e57c5db055153a188f5d2d7eea63d649fa87769f7625f3fc4923e0cd5b8f3ee -DIST elasticsearch-6.1.3.tar.gz 28454781 BLAKE2B 80c42a64fb533a5b2f0a2c6ea154b129e327acc0d2addc6f1dd5fd949573459ec87118e12b98791642fdfa8e92927d749dd60119adcb398fca56e6e00b0811e2 SHA512 af10cc571ab55f52ab73a86373fa8359214a7866fbb6d2910669e6be897bae30c41c007c3be5803a7f07736041f32cf36425c182a18fab39499321ed9eb4b349 -DIST elasticsearch-6.2.3.tar.gz 29050159 BLAKE2B 32a722e3861abf024a4b82ffe97877896cf3ffc76aac34fd942eeb9ca490ac41f3bf530b6313104fdf2c4900ea377d57837c465c6de6f983afac99802586b1c7 SHA512 8103c2b817cd5e14057c28372f379bb9c2b7833698818882c649d349904163d0c69d147836d03428619535652902532f7e5abc1e23214ad735c54b1d914acabf -DIST elasticsearch-oss-6.3.0.tar.gz 29418173 BLAKE2B fbe5e08de6628f221d38ebda0c8dc2a63eba0f916e289ef6f587b64817f78fd8f9b8bfaa4db6c05223cd4ff2e4c2213a63b68ef886c56ba2b963238e42e78090 SHA512 679c7b86590b7d006476ddaef2c3eb285d444d30f44877a7b34a0d6bb8ea043477944e9c0d6c4d1d85557aa6b3b724bc8b1025d95af26cf0f19a73b5f701a2aa -DIST elasticsearch-py-5.5.2.tar.gz 83415 BLAKE2B 6adf9d5e05c2d097590bc78df9c9a7a948194a4106d718464c04e705380984b51d8f7e04fe9d0eaa6518d6d8767aa064c99512cf827a31e993178ee3c28a8815 SHA512 c5c9583179e87b13c7edf14baeb5a360369f37a953049c3c7e101c379cf895c8fe743d5edaaee6aa0fa4ee6cdab9364c0177097ad780ed3d85ede754088520a3 -DIST elasticsearch-py-5.5.3.tar.gz 83461 BLAKE2B 8281c841f55d2bf9749e9914ef38f0d06a32cb0367e06ccfe853f628b549a736e5a7ea0d457eadc541058f352bffb2431c077af0b1eb47bb10f4c9d37182d36e SHA512 cbf4a993d5c2245c72a87d2edfa8eae50b5fc474c42ae6d3dd8503941b86ae030925de486047305fa18ee273dbed8e0a2bd66ddf8ec8724ba8d04c1489dd3393 -DIST elasticsearch-py-6.0.0.tar.gz 83197 BLAKE2B 5ca16c9b881fe6f8c4944e8eec69be0532fe472564b12dbaa40225b29b8a2b88974e35ed2ab733722023da3ed877a2934bb545387ffdcf307d519950a8971880 SHA512 1d6c27654f9470837e9cb9866cb6f5305d63cac9dc6bddc06309e378a5e7b7fe3d21cae5ffd115685fe8ddcfd8cbbe1457d74799dde0fc7427f90fc870f1c444 -DIST elasticsearch-py-6.1.1.tar.gz 83575 BLAKE2B fc7cd690208a401b83fd1b86957dc49b2bd686248f2d78901551c26e67e06f4c7f6175346fd0374ff509477f571a8074ac30aa0e2cca1c73b11b6cdce67bfe33 SHA512 f593865de8879ac42cbbd35dd6bcc1da9513124556dcd3f1d8240e9d2818682136bfac09387c50797f4daada33699a7f5c1591172a7d89c3bd865595a5706c18 -DIST elasticsearch-py-6.2.0.tar.gz 89784 BLAKE2B 150668b378d50ea2d62f75a71127b524d44e5d69bc96905f70b38162598a11ab77aa34814788e4177f668a1109191bdbb4c28698da608a35c70a45026ad9c22b SHA512 f7205db8b8608ce52657a114a38f59b95ed0ea5acb0a5f18197be6baebde80fd88210a5f88fb5d2770f82f1dc7212d038d801f96c7d18cfe1e77c16ee0fa5208 -DIST elasticsearch-py-6.3.0.tar.gz 90835 BLAKE2B 3c1fba5b70474b6119678fd2d9234b625fca120d7fbd1ab048ff455daf30f4784e468fe0e62b4866ef13d344144e9d7b53bbbc0ad9725e7c5132b79275785242 SHA512 ee60840b7e9706141a650821f705f1bb92fe3c4c282ecad71b3912ad25025519f456b45af85109a900094a53c47c374e450d771c1ef3a3690400272c6f8a47bc -EBUILD elasticsearch-py-5.5.2.ebuild 2754 BLAKE2B 3e1a4b2bbb16168127f1be66014ea5282b0b58667cef11222eeed324043c503d7bb289523f482dbd019c15d4fe973a9c382aa1a07cd1eb64c9c8040494dd3f1c SHA512 bbab061e078d7ff3f75f7d722158762cee4e6912118a2499fdcb8f2be51c56802009b622f37f834f5b46a02a0d69f539d545d6d4f309a0f00a38486bab389dcf -EBUILD elasticsearch-py-5.5.3.ebuild 2756 BLAKE2B adf39541ae057ce7e9691ca6cab67b8f9a5333b7b56f0ac759d6d903d9ddcface98c5594735e778b8cc128447f767ae2437348a433f54af78ed9f625a52ca3f2 SHA512 746e11930f3a75bdbc6d64c474b3854ddc219ea2eaee0d7272838f3fd71936c7679ebe9bebc408efdddbec1f96c1d107dd4fde046639561c7f830bc870d9889b -EBUILD elasticsearch-py-6.0.0.ebuild 2756 BLAKE2B 6dac845f2db9b7204fcbf17e70a357b0a8939d24b3fa779eb9978f1fc3edfbeafb039ed75da87d216271c161452e46780807d899403c6d3519bd30772db8290b SHA512 b8fe212ef1a44e79f4aa712118b664a80385068cb847d23970eccbacf171cd98e899da148833f434a790d55ee9dcda5ab7cb119bb581e152d79c029de2fd6a32 -EBUILD elasticsearch-py-6.1.1.ebuild 2756 BLAKE2B 4ea4b1ed0c26ac25915a281e755dc21f803b75c60798326c6e5a46b7a6277dcc32e35ff3164eaae2fd67c28ff978a7a8733fa49c5b71a099630cd180ad42b770 SHA512 37321c3206723abbeea13904bed0ce8c03524c2a404c7d6101df2b8485cc787231fb6fe67a5491dd5997f74a154a7b5fd267d873aac0e6ee7202c9b941f27b98 -EBUILD elasticsearch-py-6.2.0.ebuild 2756 BLAKE2B 147ab4eb3756cc532174e822f6aebad1e7d4824997da278e74faf02535d29a8a3323fd7c309f8ecbc1765df982865c0be7516381e774f707f7bc4ff71fdf2ddc SHA512 b7bcb4598b4b2e5f20d65bbe3cbfe0893415fd74d92cc781f6d4832da18e74cfcb7a4257459fbe4f42278fc34e2b6487fd2cf3d1047f44f34532f20e7c3a85d7 -EBUILD elasticsearch-py-6.3.0.ebuild 2760 BLAKE2B f344a6e99d2752fa105e741a4383947c7d3aa24fa6219ef71d4e3d145c0cb8fbdadc6e3bfbf075acad762e02c28753344b67fc69d70d8d8c41013a0b1315b4c2 SHA512 ffa6695b48a93be8c5afd39efdaac4dc3644a70a9ab8899884a798a49b7a6c211f6e4397f01c45cb05481d06caf60d3edbfd6b4fcc80ddd4ed5568750745489a -MISC metadata.xml 592 BLAKE2B 3535c37456da9c7904e88e5921c6fd27bf6790178a0f847d0a302aae76e4c68889d31337383ac1d0a1dbb55d7f37bc056bced2f2de29c4d85864b881feeb3405 SHA512 752265ff356d02b2825ac2ef5e5177649cdcdd31b5a3738e3638af89a7bfef8b16fef8332e67c3ac03285318b22e455795c75d408a1abfc99068a1d4015eade0 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild deleted file mode 100644 index 51712c06d127..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-5.5.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) -ES_VERSION="5.6.7" - -inherit distutils-r1 - -MY_PN=${PN/-py/} -DESCRIPTION="official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - dev-python/nosexcover[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -python_prepare_all() { - # 643684 - sed -i -e /urllib3/d setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - emake -C docs -j1 man $(usex doc html "") -} - -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py -python_test() { - ES="${WORKDIR}/elasticsearch-${ES_VERSION}" - ES_PORT="25124" - ES_INSTANCE="gentoo-es-py-test" - ES_LOG="${ES}/logs/${ES_INSTANCE}.log" - PID="${ES}/elasticsearch.pid" - - # run Elasticsearch instance on custom port - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \ - "${ES}/config/elasticsearch.yml" || die - - # start local instance of elasticsearch - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die - - local i - local es_started=0 - for i in {1..20}; do - grep -q "started" ${ES_LOG} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - eend 1 - sleep 2 - continue - fi - done - - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" - - export TEST_ES_SERVER="localhost:${ES_PORT}" - esetup.py test || die - - pkill -F ${PID} -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - use examples && dodoc -r example - doman docs/_build/man/* - distutils-r1_python_install_all -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild deleted file mode 100644 index 095a69999bac..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-5.5.3.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) -ES_VERSION="5.6.9" - -inherit distutils-r1 - -MY_PN=${PN/-py/} -DESCRIPTION="official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - dev-python/nosexcover[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -python_prepare_all() { - # 643684 - sed -i -e /urllib3/d setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - emake -C docs -j1 man $(usex doc html "") -} - -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py -python_test() { - ES="${WORKDIR}/elasticsearch-${ES_VERSION}" - ES_PORT="25124" - ES_INSTANCE="gentoo-es-py-test" - ES_LOG="${ES}/logs/${ES_INSTANCE}.log" - PID="${ES}/elasticsearch.pid" - - # run Elasticsearch instance on custom port - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \ - "${ES}/config/elasticsearch.yml" || die - - # start local instance of elasticsearch - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die - - local i - local es_started=0 - for i in {1..20}; do - grep -q "started" ${ES_LOG} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - eend 1 - sleep 2 - continue - fi - done - - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" - - export TEST_ES_SERVER="localhost:${ES_PORT}" - esetup.py test || die - - pkill -F ${PID} -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - use examples && dodoc -r example - doman docs/_build/man/* - distutils-r1_python_install_all -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild deleted file mode 100644 index db922834ad26..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.0.0.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) -ES_VERSION="6.0.1" - -inherit distutils-r1 - -MY_PN=${PN/-py/} -DESCRIPTION="official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - dev-python/nosexcover[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -python_prepare_all() { - # 643684 - sed -i -e /urllib3/d setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - emake -C docs -j1 man $(usex doc html "") -} - -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py -python_test() { - ES="${WORKDIR}/elasticsearch-${ES_VERSION}" - ES_PORT="25124" - ES_INSTANCE="gentoo-es-py-test" - ES_LOG="${ES}/logs/${ES_INSTANCE}.log" - PID="${ES}/elasticsearch.pid" - - # run Elasticsearch instance on custom port - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \ - "${ES}/config/elasticsearch.yml" || die - - # start local instance of elasticsearch - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die - - local i - local es_started=0 - for i in {1..20}; do - grep -q "started" ${ES_LOG} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - eend 1 - sleep 2 - continue - fi - done - - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" - - export TEST_ES_SERVER="localhost:${ES_PORT}" - esetup.py test || die - - pkill -F ${PID} -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - use examples && dodoc -r example - doman docs/_build/man/* - distutils-r1_python_install_all -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild deleted file mode 100644 index cddd568301b9..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.1.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) -ES_VERSION="6.1.3" - -inherit distutils-r1 - -MY_PN=${PN/-py/} -DESCRIPTION="official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - dev-python/nosexcover[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -python_prepare_all() { - # 643684 - sed -i -e /urllib3/d setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - emake -C docs -j1 man $(usex doc html "") -} - -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py -python_test() { - ES="${WORKDIR}/elasticsearch-${ES_VERSION}" - ES_PORT="25124" - ES_INSTANCE="gentoo-es-py-test" - ES_LOG="${ES}/logs/${ES_INSTANCE}.log" - PID="${ES}/elasticsearch.pid" - - # run Elasticsearch instance on custom port - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \ - "${ES}/config/elasticsearch.yml" || die - - # start local instance of elasticsearch - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die - - local i - local es_started=0 - for i in {1..20}; do - grep -q "started" ${ES_LOG} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - eend 1 - sleep 2 - continue - fi - done - - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" - - export TEST_ES_SERVER="localhost:${ES_PORT}" - esetup.py test || die - - pkill -F ${PID} -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - use examples && dodoc -r example - doman docs/_build/man/* - distutils-r1_python_install_all -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild deleted file mode 100644 index 9d825bd56aa7..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.2.0.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) -ES_VERSION="6.2.3" - -inherit distutils-r1 - -MY_PN=${PN/-py/} -DESCRIPTION="official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - dev-python/nosexcover[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -python_prepare_all() { - # 643684 - sed -i -e /urllib3/d setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - emake -C docs -j1 man $(usex doc html "") -} - -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py -python_test() { - ES="${WORKDIR}/elasticsearch-${ES_VERSION}" - ES_PORT="25124" - ES_INSTANCE="gentoo-es-py-test" - ES_LOG="${ES}/logs/${ES_INSTANCE}.log" - PID="${ES}/elasticsearch.pid" - - # run Elasticsearch instance on custom port - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \ - "${ES}/config/elasticsearch.yml" || die - - # start local instance of elasticsearch - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die - - local i - local es_started=0 - for i in {1..20}; do - grep -q "started" ${ES_LOG} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - eend 1 - sleep 2 - continue - fi - done - - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" - - export TEST_ES_SERVER="localhost:${ES_PORT}" - esetup.py test || die - - pkill -F ${PID} -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - use examples && dodoc -r example - doman docs/_build/man/* - distutils-r1_python_install_all -} diff --git a/dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild deleted file mode 100644 index 349ae9ee99e3..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-6.3.0.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) -ES_VERSION="6.3.0" - -inherit distutils-r1 - -MY_PN=${PN/-py/} -DESCRIPTION="official Python low-level client for Elasticsearch" -HOMEPAGE="https://github.com/elastic/elasticsearch-py" -SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] - <dev-python/requests-3.0.0[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - dev-python/nosexcover[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -python_prepare_all() { - # 643684 - sed -i -e /urllib3/d setup.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - emake -C docs -j1 man $(usex doc html "") -} - -# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py -python_test() { - ES="${WORKDIR}/elasticsearch-${ES_VERSION}" - ES_PORT="25124" - ES_INSTANCE="gentoo-es-py-test" - ES_LOG="${ES}/logs/${ES_INSTANCE}.log" - PID="${ES}/elasticsearch.pid" - - # run Elasticsearch instance on custom port - sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \ - s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \ - "${ES}/config/elasticsearch.yml" || die - - # start local instance of elasticsearch - "${ES}"/bin/elasticsearch -d -p "${PID}" -Epath.repo=/ || die - - local i - local es_started=0 - for i in {1..20}; do - grep -q "started" ${ES_LOG} 2> /dev/null - if [[ $? -eq 0 ]]; then - einfo "Elasticsearch started" - es_started=1 - eend 0 - break - elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then - eend 1 - eerror "Elasticsearch already running" - die "Cannot start Elasticsearch for tests" - else - einfo "Waiting for Elasticsearch" - eend 1 - sleep 2 - continue - fi - done - - [[ $es_started -eq 0 ]] && die "Elasticsearch failed to start" - - export TEST_ES_SERVER="localhost:${ES_PORT}" - esetup.py test || die - - pkill -F ${PID} -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - use examples && dodoc -r example - doman docs/_build/man/* - distutils-r1_python_install_all -} diff --git a/dev-python/elasticsearch-py/metadata.xml b/dev-python/elasticsearch-py/metadata.xml deleted file mode 100644 index e75480b915d9..000000000000 --- a/dev-python/elasticsearch-py/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>hydrapolic@gmail.com</email> - <name>Tomáš Mózes</name> - </maintainer> - <maintainer type="person"> - <email>erkiferenc@gmail.com</email> - <name>Ferenc Erki</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">elasticsearch/elasticsearch-py</remote-id> - </upstream> -</pkgmetadata> |