diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-12 18:41:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-12 18:52:12 +0200 |
commit | 0b1f58db9fb9235e065e9df8c7614b0639f812a7 (patch) | |
tree | 28f8453fec23985bf799331da75f37b1a1ae056f /dev-python/elasticsearch-py | |
parent | dev-python/elasticsearch-curator: Remove redundant versions (diff) | |
download | gentoo-0b1f58db9fb9235e065e9df8c7614b0639f812a7.tar.gz gentoo-0b1f58db9fb9235e065e9df8c7614b0639f812a7.tar.bz2 gentoo-0b1f58db9fb9235e065e9df8c7614b0639f812a7.zip |
dev-python/elasticsearch-py: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/elasticsearch-py')
-rw-r--r-- | dev-python/elasticsearch-py/Manifest | 6 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-7.0.5.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-7.5.1.ebuild | 102 | ||||
-rw-r--r-- | dev-python/elasticsearch-py/elasticsearch-py-7.6.0.ebuild | 101 |
4 files changed, 0 insertions, 311 deletions
diff --git a/dev-python/elasticsearch-py/Manifest b/dev-python/elasticsearch-py/Manifest index 46072603143d..29efd733d197 100644 --- a/dev-python/elasticsearch-py/Manifest +++ b/dev-python/elasticsearch-py/Manifest @@ -1,8 +1,2 @@ -DIST elasticsearch-oss-7.0.1-no-jdk-linux-x86_64.tar.gz 68787752 BLAKE2B 63864deae4e0545a2cd1924c4e2f4c0bb61134fe9649037f23c10123efe0425d376183035171a952a10f1804196a97287c59b508e97dff5e9e05063a67ede020 SHA512 301e552b221369cca8365ee64d8b52b5e8abea0e26159f7a6e77a1722fb1107641fe2472138869f5156bbbf43c74e62ffb22d0c35062190505f7504e3f571e16 -DIST elasticsearch-oss-7.5.2-no-jdk-linux-x86_64.tar.gz 68711865 BLAKE2B 01a456d3965c83fe2a94e87b0f19dfbc89666f01fade36cff1b7733b24c91580bc95b9e0acf0d9134078715be890bfacdc6c0091cf56dfb9dc43e71bf387806c SHA512 ea494dfb743e5ea12dbbc269d8103fa08644c580291eb88b25000743d272aa87c8709ac9fb2939ad387d5d335f0795c943114b8471074bba7d583494bbc6d100 -DIST elasticsearch-oss-7.6.1-no-jdk-linux-x86_64.tar.gz 72567711 BLAKE2B 8fe3901cb3ce6577918f6b711f63e0ed8f10013a01ae8c197cda8e5592b2e7c99f0bb7179decc19e26ed160c21d7cfd66eedc3d6fc265e89244ce1c9a5ef27c5 SHA512 da396be8bceec32b5f4c4f9091edee51710f39f5aa1135c7c392719d9fdd0c99e92b681cf628135013a37fd881dd15540d6c660a50bb18b47991f0d723aadb64 DIST elasticsearch-oss-7.7.0-no-jdk-linux-x86_64.tar.gz 73216528 BLAKE2B f0f1a3d3347ea37703e90bd896b24f6e3c58406d9fb20f3607a4d08eee325b5ae293db48d1afdc208468ee775b9085a28f39f2e175b67e4881bfb61d5cb85a9a SHA512 f9b323cff078a0dc856f99efd164775a9cd0718bb0ddb6c4d4817fa53cae71748f1aec5158afa45d4b29076043cbada9743a996e685439436e93d94a9eff2768 -DIST elasticsearch-py-7.0.5.tar.gz 110079 BLAKE2B 89f5f7434fae0c4d20c1780c0979a419278fcaa23f75d5241d48c695905e566742fac5651387f0b1cb665ab6e9cb299406ee7f0157facc8c4cf2c1f1a4a3e5d7 SHA512 c4224cee6f7739ad932036f2afc6ed20ead16829d42f40b79e08d6714b4a247f019175739fb5a93bcea5bba391bd9f54cadcd31d42ff9411da414d08c140049b -DIST elasticsearch-py-7.5.1.tar.gz 116602 BLAKE2B b9ae9cc7496e911d102118a6e2684e8942dfc0f4e92d3cd9cf6429c7c7a48521ed5b61174ddc4fbcf8001c30e74fe11649e5ef13e90ca32307290ae0bb8d0f6c SHA512 9a82715031fbe60e5d795ca31cd7ba3fa653b3100e8d1b53e0088c55ad3ed7f4c4309a07327d41d1ca1abe2fdbb9f4b6e97d6ab39ae5dcde46b7c2b1642a92b2 -DIST elasticsearch-py-7.6.0.tar.gz 120271 BLAKE2B e99e84cf952f178c5ceaaced763cda058c36797eb1bd4b09ce7996a99417adfd8c152d980e1b5be6522a4287bb37178b9b6d93968324a57fcda5637f1caee58a SHA512 f8a54cd222af94d659087d654bcbe52da5ee90570ff04dbdd6793b870b8fd7e4b5b896620424f85057f2274ed3a16ecd97f53f704c2a97931b4876d246311ea9 DIST elasticsearch-py-7.7.0.tar.gz 128862 BLAKE2B 461b7ac3bc6d96bacdc1e8595c05b4dfd3e6bad2d2d11eecaedcb3b7e96c7390fe26c47b7095b3b1e8500872cfef689a749bd7103bef352680a2cf3ef7dad350 SHA512 6da382c5056f61dde2bf509c902a4ca33548ee937d037dc977e8c8864ebc09385f630b5c99ab8b24b69390773a241786495d1c01a5684ea3892d834e7a1550b1 diff --git a/dev-python/elasticsearch-py/elasticsearch-py-7.0.5.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-7.0.5.ebuild deleted file mode 100644 index 4074980458a0..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-7.0.5.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -ES_VERSION="7.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-oss-${ES_VERSION}-no-jdk-linux-x86_64.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]" - -DEPEND="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/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - virtual/jre:1.8 )" - -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1-r1" - -python_prepare_all() { - sed -e '/coverage/d' \ - -e '/nosexcover/d' \ - -i 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" - export JAVA_HOME=$(java-config -g JAVA_HOME) - - # 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}" - nosetests -v || die - - pkill -F ${PID} || die -} - -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-7.5.1.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-7.5.1.ebuild deleted file mode 100644 index df9f5afd8707..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-7.5.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -DISTUTILS_USE_SETUPTOOLS=bdepend -ES_VERSION="7.5.2" - -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}-no-jdk-linux-x86_64.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]" - -DEPEND="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/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - virtual/jre:* )" - -BDEPEND=">=dev-python/sphinx-1.3.1-r1" - -python_prepare_all() { - sed -e '/coverage/d' \ - -e '/nosexcover/d' \ - -i 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() { - local es="${WORKDIR}/elasticsearch-${ES_VERSION}" - local es_port="25124" - local es_instance="gentoo-es-py-test" - local es_log="${es}/logs/${es_instance}.log" - local pid="${es}/elasticsearch.pid" - export JAVA_HOME=$(java-config -g JAVA_HOME || die) - - # 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}" - nosetests -v || die - - pkill -F ${pid} || die -} - -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-7.6.0.ebuild b/dev-python/elasticsearch-py/elasticsearch-py-7.6.0.ebuild deleted file mode 100644 index fe4ce148e14d..000000000000 --- a/dev-python/elasticsearch-py/elasticsearch-py-7.6.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} ) -DISTUTILS_USE_SETUPTOOLS=bdepend -ES_VERSION="7.6.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-oss-${ES_VERSION}-no-jdk-linux-x86_64.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -# tests fail in chroot -# https://github.com/elastic/elasticsearch/issues/12018 -RESTRICT="test" - -RDEPEND=">=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]" - -DEPEND="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/mock[${PYTHON_USEDEP}] - dev-python/pretty-yaml[${PYTHON_USEDEP}] - virtual/jre:* )" - -BDEPEND=">=dev-python/sphinx-1.3.1-r1" - -python_prepare_all() { - sed -e '/coverage/d' \ - -e '/nosexcover/d' \ - -i 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() { - local es="${WORKDIR}/elasticsearch-${ES_VERSION}" - local es_port="25124" - local es_instance="gentoo-es-py-test" - local es_log="${es}/logs/${es_instance}.log" - local pid="${es}/elasticsearch.pid" - export JAVA_HOME=$(java-config -g JAVA_HOME || die) - - # 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 ELASTICSEARCH_HOST="localhost:${es_port}" - nosetests -v || die - - pkill -F ${pid} || die -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - doman docs/_build/man/* - distutils-r1_python_install_all -} |