From 3d43f9dcce1fc8ff8c54a0d24bc0056c1edcde45 Mon Sep 17 00:00:00 2001 From: Guido Kroon Date: Fri, 16 Nov 2018 13:26:44 +0100 Subject: [PATCH] dirhunt 0.6.0 bump --- dev-python/geoip2-python/Manifest | 1 + .../geoip2-python/geoip2-python-2.9.0.ebuild | 29 +++++++++++ dev-python/googlesearch/Manifest | 1 + .../googlesearch/googlesearch-20181112.ebuild | 32 ++++++++++++ dev-python/maxminddb/Manifest | 1 + dev-python/maxminddb/maxminddb-1.4.1.ebuild | 31 +++++++++++ dev-python/proxy-db/Manifest | 1 + dev-python/proxy-db/proxy-db-0.2.3.ebuild | 42 +++++++++++++++ dev-python/requests/Manifest | 1 + dev-python/requests/requests-2.20.1.ebuild | 52 +++++++++++++++++++ net-analyzer/dirhunt/Manifest | 1 + net-analyzer/dirhunt/dirhunt-0.6.0.ebuild | 37 +++++++++++++ 12 files changed, 229 insertions(+) create mode 100644 dev-python/geoip2-python/Manifest create mode 100644 dev-python/geoip2-python/geoip2-python-2.9.0.ebuild create mode 100644 dev-python/googlesearch/Manifest create mode 100644 dev-python/googlesearch/googlesearch-20181112.ebuild create mode 100644 dev-python/maxminddb/Manifest create mode 100644 dev-python/maxminddb/maxminddb-1.4.1.ebuild create mode 100644 dev-python/proxy-db/Manifest create mode 100644 dev-python/proxy-db/proxy-db-0.2.3.ebuild create mode 100644 dev-python/requests/Manifest create mode 100644 dev-python/requests/requests-2.20.1.ebuild create mode 100644 net-analyzer/dirhunt/dirhunt-0.6.0.ebuild diff --git a/dev-python/geoip2-python/Manifest b/dev-python/geoip2-python/Manifest new file mode 100644 index 0000000000..fd907d00c2 --- /dev/null +++ b/dev-python/geoip2-python/Manifest @@ -0,0 +1 @@ +DIST GeoIP2-python-2.9.0.tar.gz 32999 BLAKE2B 3992391f07c1bcd966cd0be13fd6ba980354f82f8a785b9857a9b834480e3f7ff165c511a4a3ca2cd9ea0592eb379ef21533215400ea59c99b02b938d872b832 SHA512 8631a41d9644887d0149678e40a5f9d03bba660853c308c43bf358cd49b3f021566b9d6f65b670c0c1c78bcb4cb7cb007ad2db6f3c032749afa454fc9e06d74c diff --git a/dev-python/geoip2-python/geoip2-python-2.9.0.ebuild b/dev-python/geoip2-python/geoip2-python-2.9.0.ebuild new file mode 100644 index 0000000000..1506dbe34d --- /dev/null +++ b/dev-python/geoip2-python/geoip2-python-2.9.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) + +inherit distutils-r1 + +MY_PN="GeoIP2-python" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python bindings for GeoIP2" +HOMEPAGE="https://github.com/maxmind/GeoIP2-python" +SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=">=dev-python/maxminddb-1.4.0 + >=dev-python/requests-2.20.0" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +python_install_all() { + distutils-r1_python_install_all +} diff --git a/dev-python/googlesearch/Manifest b/dev-python/googlesearch/Manifest new file mode 100644 index 0000000000..9a0c0d5888 --- /dev/null +++ b/dev-python/googlesearch/Manifest @@ -0,0 +1 @@ +DIST googlesearch-20181112.tar.gz 49266 BLAKE2B ad1c615e7436c172d5710be389ec49f302ac6eef9c4805368553a579d86176f71a2d7b1c126bc65510ac53395c0f6acc97082b6f7f4baa5b00859308e9e4b40e SHA512 1a9231d5c9fcf64c42a949888d4e95d1819f7db41d245b5a6cd6f2466f0a5f422cca4dd4b73841044afdfdaa7d4a1c5fa483c52c698c36d9e1675c97f34651f0 diff --git a/dev-python/googlesearch/googlesearch-20181112.ebuild b/dev-python/googlesearch/googlesearch-20181112.ebuild new file mode 100644 index 0000000000..3e2a13df3d --- /dev/null +++ b/dev-python/googlesearch/googlesearch-20181112.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 ) +EGO_PN=github.com/MarioVilas/googlesearch + +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/MarioVilas/googlesearch.git" + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + EGIT_COMMIT="bce138ac60572bc624a477cdeb553f4b52cf3307" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Google search from Python" +HOMEPAGE="https://github.com/MarioVilas/googlesearch" +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +LICENSE="BSD-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=dev-python/beautifulsoup-4.5.1" +DEPEND="${RDEPEND}" diff --git a/dev-python/maxminddb/Manifest b/dev-python/maxminddb/Manifest new file mode 100644 index 0000000000..80d2ad45f5 --- /dev/null +++ b/dev-python/maxminddb/Manifest @@ -0,0 +1 @@ +DIST MaxMind-DB-Reader-python-1.4.1.tar.gz 32001 BLAKE2B 793d42c5c9e99742f282bad1cfd99c2427d9fade649b6a0a650c245b8378bbc6cf1e4c9fa67a324a3618abcaae5cad173815d36f3e438ce10c43bfa6067654a1 SHA512 94bee89a0ef9d24f937f12f79dc8b9686be46ba3aeedc5538cc0c2ff4379ad2eb0bb84914849d3baa9120d4bbdb3abc215e30efd237a2c6d5fc0161e7e40c0d6 diff --git a/dev-python/maxminddb/maxminddb-1.4.1.ebuild b/dev-python/maxminddb/maxminddb-1.4.1.ebuild new file mode 100644 index 0000000000..c7e31a9a3a --- /dev/null +++ b/dev-python/maxminddb/maxminddb-1.4.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 ) + +inherit distutils-r1 + +MY_PN="MaxMind-DB-Reader-python" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Python module for reading MaxMind DB files" +HOMEPAGE="https://github.com/maxmind/MaxMind-DB-Reader-python" +SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~ia64 ~ppc ~sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND="dev-python/ipaddress" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" + +python_install_all() { + distutils-r1_python_install_all +} diff --git a/dev-python/proxy-db/Manifest b/dev-python/proxy-db/Manifest new file mode 100644 index 0000000000..1724400391 --- /dev/null +++ b/dev-python/proxy-db/Manifest @@ -0,0 +1 @@ +DIST proxy-db-0.2.3.tar.gz 482548 BLAKE2B b5cbfd905942f82a6f9066f9c74380f9e954543d8afb5eb5766d633d085b3d4fef67ff9b8f919621f025c66d32a844df5ada7c7e41a8e308c5320b61de9a7a53 SHA512 764f89a7e147dd9d34241faa28c88cc2c26ed8c511546e33f87af2a49f6f2fb61b488da08d1c17acdc9a2592261b51c574de7c3d534987759e5ad6b8f013f721 diff --git a/dev-python/proxy-db/proxy-db-0.2.3.ebuild b/dev-python/proxy-db/proxy-db-0.2.3.ebuild new file mode 100644 index 0000000000..a46114c337 --- /dev/null +++ b/dev-python/proxy-db/proxy-db-0.2.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 ) +EGO_PN=github.com/Nekmo/${PN} + +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nekmo/proxy-db.git" + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + EGIT_COMMIT="v${PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Manage free and private proxies on local db for Python Projects" +HOMEPAGE="https://github.com/Nekmo/proxy-db" +#S="${WORKDIR}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=dev-python/beautifulsoup-4.5.1 + dev-python/click + dev-python/geoip2-python + dev-python/requests + dev-python/sqlalchemy" +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + # remove package of tests to avoid installing it + rm "${S}/tests/__init__.py" +} diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest new file mode 100644 index 0000000000..25e12ae56a --- /dev/null +++ b/dev-python/requests/Manifest @@ -0,0 +1 @@ +DIST requests-2.20.1.tar.gz 111475 BLAKE2B 3d57831915d7f27cbd0891799eb8eca3a1c28a2fc9096cf2189fb17351fbb1b35ac754d44b5c0c7f5df367d51b61287ef383b97cb983399df695954eae21b39e SHA512 631969fab07e6674afc8cc9707a2e18ea394c09cdef031894fd0b28cf94e20f4f24434901edf3233b84ce7be199cc8325b9fe975d9003334206bb4a85ca278ae diff --git a/dev-python/requests/requests-2.20.1.ebuild b/dev-python/requests/requests-2.20.1.ebuild new file mode 100644 index 0000000000..0d6c239ab9 --- /dev/null +++ b/dev-python/requests/requests-2.20.1.ebuild @@ -0,0 +1,52 @@ +# 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,7} pypy{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="HTTP library for human beings" +HOMEPAGE="http://python-requests.org/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" +IUSE="socks5 +ssl" + +RDEPEND=" + >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) + ssl? ( + >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)] + ) +" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +# tests connect to various remote sites +RESTRICT="test" + +#DEPEND+=" +# test? ( +# dev-python/pytest[${PYTHON_USEDEP}] +# dev-python/pytest-httpbin[${PYTHON_USEDEP}] +# dev-python/pytest-mock[${PYTHON_USEDEP}] +# dev-python/pytest-xdist[${PYTHON_USEDEP}] +# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] +# ) +#" + +python_test() { + py.test || die +} diff --git a/net-analyzer/dirhunt/Manifest b/net-analyzer/dirhunt/Manifest index 5428264eaf..1e70657929 100644 --- a/net-analyzer/dirhunt/Manifest +++ b/net-analyzer/dirhunt/Manifest @@ -1,3 +1,4 @@ DIST dirhunt-0.4.2.tar.gz 98093 BLAKE2B ac3aac40715415b8b4fe6c82b0949d33d21694a79c1c1ae06b65ba1623e2f4e857e4066da47de708e9b79e29e5cf5ea65baf4063fd8d77415126fafc9aa40c33 SHA512 b143dbe19a49a9ebbb0f2d2cf8906c58c88dd011b9b3c754ae65a099d6a8456dccdbbbbca16875e110c7b47cf7529e8499dde7c4a05e0d25db1bbb6be26adba4 DIST dirhunt-0.5.0.tar.gz 100519 BLAKE2B e969a99d62e9373f1a476ada0ec0307efa43fed58f372a90db0f82e7f07c38af3ea18cf47409602a08a476009a33618ac6d176608c42cd2e9380ede11f1d44e7 SHA512 d1947978b6b96ad008bae31312797975db4585894a1443b4045e45bf1cb91329888beb9b794ec501b53cc384301ef2cf21d36760d4171cbf7a22d460e920beef DIST dirhunt-0.5.1.tar.gz 100541 BLAKE2B 9b4b775e6d41d319c32ab314cf838d6ee10229ddf5e259e5eb2c444c19115f1fc17a7beec385dbdb2b8e1b88cad0ab5027261090f4927f8d257b9823f07e187b SHA512 60d69a8cb419797016a6a22c46bf68a908eb3046785128417ed61ae48e6d77aa81f4b4796be7b2ed5727a1ac602d32669395f4587510296bb74533ecb06115c6 +DIST dirhunt-0.6.0.tar.gz 106496 BLAKE2B 8d102471408fb4330c7959a290db35509ff18bb77079a17821fa84f0756606314d2dcd19813a0a9d89682b8b1e939669d39457df9ceebebae68c9057efa02e77 SHA512 06c9dfea88fb973845c394debe840683bd189ddea586271d818e1f9aa73d51405f476aa942b4cf6dc0a18c8f6ffb7b4d217a1caf3604e4a2a9847a40b7b96618 diff --git a/net-analyzer/dirhunt/dirhunt-0.6.0.ebuild b/net-analyzer/dirhunt/dirhunt-0.6.0.ebuild new file mode 100644 index 0000000000..a6701a21dc --- /dev/null +++ b/net-analyzer/dirhunt/dirhunt-0.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) +EGO_PN=github.com/Nekmo/${PN} + +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Nekmo/dirhunt.git" + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" + EGIT_COMMIT="v${PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Dirhunt is a web crawler optimized for searching and analyzing web directories." +HOMEPAGE="https://github.com/Nekmo/dirhunt" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-python/beautifulsoup-4.5.1 + dev-python/click + dev-python/colorama + dev-python/googlesearch + dev-python/humanize + dev-python/proxy-db + dev-python/requests + dev-python/requests-mock" +DEPEND="${RDEPEND}"