mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dev-python: remove python2
This commit is contained in:
parent
2f139b8765
commit
ca30baf125
55 changed files with 38 additions and 382 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="robots.txt parser with support for modern conventions"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
DIST cfscrape-1.9.7.tar.gz 8596 BLAKE2B 372a6b8fc4af9fa5fe563f536e5e6f5cdf149c3f2df8038d9c16b0df71097196e499e59c0d6395b1f54c4cda14f453063e059f1994e936bb50a0f8237ef8f78e SHA512 eb6d817ed732f7f268aba9cec3c78331d590ebf11c831b9901231b03f170a72e2e9383f550bc1157ee859a78cd77d528bae07931dc99438cceb3128715082c24
|
||||
DIST cfscrape-2.0.7.tar.gz 12247 BLAKE2B 9843e1cd38a2880875069a115897a02877344f3b51b5d3cdaf95ac3f13b8550bacde8f15f6aca29b4f38cf8b437b0182c8684fa449d786a9cd01fbde015c4253 SHA512 3d3689a43c91e467391fb46ff842a04792f2bed24dc6b7561fd4dd80457e8b0a5119c3698bd0ca4fb456b92de557527d2a53d53e2478c734afd750f89a3f212d
|
||||
DIST cfscrape-2.1.1.tar.gz 15368 BLAKE2B 44774ecfd4f45b4f6d513aa84d6393c788475077356266fdcd04341dc07cd8b60eb309d1691555fb2aafff436ec41f8ea1b60183674a40f589ed41322764b537 SHA512 54cc0fda438e78ca6d405288eb48083cc87e3a6df50517cfdaa313f6d71da7e0fffcf51e6e4d0f140530a644933b014a19d72c4f4b2557e837c2f77f2ef51f2d
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A module to bypass Cloudflare's anti-bot page"
|
||||
HOMEPAGE="https://github.com/Anorov/cloudflare-scrape"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
# test? ( dev-python/mock[${PYTHON_USEDEP}]
|
||||
# )"
|
||||
|
|
@ -1,2 +1 @@
|
|||
DIST config-0.4.0.tar.gz 20292 BLAKE2B ba593873e73ce292a2294212947174f34b110eeb95f87f3cd4e92325f6fabce841e4d5181cfd141fdfad9fb1fccef6c4b40deca0bc3372563b82a63d353257fb SHA512 f42bafbb5f487e73dbd1c65e08972d522f37da202731c02fe1046e2cbda03feb09870a45091e3c4d5a006483b670dfcb6ab1c1719e5e24557a8ba1a04ca146c2
|
||||
DIST config-0.4.2.tar.gz 22471 BLAKE2B b7e91d721eddd3587cb7c43bd2377aa7778927bd54f2dbbd6fa230e745cf8175c649919e362eab92baed3c896c2b2fc7cb7a096c36bd8f140337a1246c1d5337 SHA512 a113268dcc759fa3bc569e40fdf3ad955fe8befe9343bc5dc1f3ba32d14ec3cfdbb3fc66aeb7853736e1683298bad8427c52611e1fa5ccb36865ec4a543d3c3f
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A hierarchical, easy-to-use, powerful configuration module for Python"
|
||||
HOMEPAGE="https://www.red-dove.com/python_config.html"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A hierarchical, easy-to-use, powerful configuration module for Python"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
@ -17,7 +17,7 @@ SRC_URI="https://github.com/haiwen/django-constance/archive/${HASH_COMMIT}.tar.g
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~amd64 ~x86" # Requires dev-python/django-picklefield which is neither in Gentoo or Pentoo`
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+database redis"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
DIST dropbox-sdk-10.1.1.tar.gz 1204066 BLAKE2B 8634915c24f1f1d3199103917987ae28c4df25146099da2a41e7c3dc185441b4c6fe887b49caf18ca65fcc66a214df9199e043f78754b4d23371e2c1a9dc6a7a SHA512 0af92e4460c2f2c3f520054d1c28678612ad92d1ea64451a26036b23876896f527aed2d959af398bbd0f7b7f21ee39afbf27bc3168a2c7636af8f76db64c4e67
|
||||
DIST dropbox-sdk-9.4.0.tar.gz 1107947 BLAKE2B 773779791f81fb4ff5cb6d2c31f1ff83ddf58601d821fae22b78f7b33e06db6eea1b93ddfd4f38edacd36d92b9a36600ea797c7660c7dc27708ab3eb7273ba02 SHA512 977212f9d41221509b80ac91935e406659e31f3611e80330cea7122a351dc758573ba9fad7b3cd7a95fea3839514f99e02223fb0e25ab18d052f5af378eddbf2
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
EGO_PN=github.com/dropbox/${PN}-python
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python SDK for integrating with the Dropbox API v2."
|
||||
HOMEPAGE="https://github.com/dropbox/dropbox-sdk-python"
|
||||
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/requests-2.16.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
#test? 'pytest-runner',
|
||||
# 'pytest',
|
||||
|
||||
S="${WORKDIR}/${PN}-python-${PV}"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/setup_requires=setup_requires/d' -i setup.py
|
||||
sed -e '/tests_require=test_reqs/d' -i setup.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
#PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
EGO_PN=github.com/MarioVilas/googlesearch
|
||||
|
||||
inherit distutils-r1
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy-to-use data handling for SQL data stores"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ KEYWORDS="~amd64 ~x86"
|
|||
RDEPEND=">=dev-python/w3lib-1.19.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssselect-0.9[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7)"
|
||||
>=dev-python/cssselect-0.9[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Module to read and work with Portable Executable (PE) files"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
DIST pyjsparser-2.5.2.tar.gz 24039 BLAKE2B 7cd1e70ea7f6e7a59bb785074a7c6bc11c73baa60923fc740c6572d749313207af05b530df5b322fe9d3003ede2b86ec14b578b5efaaedf97a0cc5a21182f4d4 SHA512 53784a0a78431f286dfb781111372a68e3812227c2a25464c8dd2f68a47d864684448731bcf0c6cb95e0f1e73c75bf3f6f573aa455376034b882447df2852f57
|
||||
DIST pyjsparser-2.7.1.tar.gz 24196 BLAKE2B 804ff688d48bd4c53472c244b7314eee622f1342535fba38dbac8e135280d7baeae049500b6603253425c0e1b1af2f847681f74e2e46f1c719fc1ca2eea67b21 SHA512 811faf1d1fcae363417931e095bf108b27ec8762a12048b658215ecdecc1fd1bbb183f2ec35199ce67e7837aeda6ccf27b6f4bbd62b19fe6a5c9ba6fa7615031
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast javascript parser (based on esprima.js)"
|
||||
HOMEPAGE="https://pypi.org/project/pyjsparser/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ EAPI=7
|
|||
|
||||
EGO_PN=github.com/liftoff/${PN}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pyminifier is a Python code minifier, obfuscator, and compressor."
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
DIST pymisp-2.4.117.tar.gz 1608710 BLAKE2B 9417d2f21140533cae5459b402409a63728d72233c5e6ed3bff3017f4c26014ccb864df26e39991a5fa7acfe9c3fa6e7d5a883e673f98eebb105758481cc1eec SHA512 5c6ea5606ad027ab196ae1602ad8492ad74afbe76aeafa55f4a0661878c90ed2d22d5d5fea2167aa344756fef39e630e2422473b7c2c983a53306cdab418a4bb
|
||||
DIST pymisp-2.4.122.tar.gz 213426 BLAKE2B bd15b586ca866011d724dbf384c9c2751e2d62277e014c106de2655ebb63a486894f86d5cd5e7d6ab0e3dfaef02641390024067ed6f4f675bb735ecee4349e9a SHA512 64b563cedcc0373af25469a05b476f64ae74f2ffe99264e5c392b8be04f0c5d02c7e421d6364cea764e354aa0aa1454c45bf920d1493aac14f4d67eca544b60b
|
||||
DIST pymisp-2.4.124.tar.gz 243210 BLAKE2B 2c0af2f9d14be90a3d8d5509b81fcb1b7220fdca2ce8ba2e55d95f0c7ecd7dca21d05002d2fc843376034798a9840ea8870044b4fc94632c491c272c53e2026c SHA512 8895941883077fd2490e3a1749e977cb309d8a2e6d9899df5fac05b116e9fdb1003d3648fed3e15efca63626cd42e5aa8530698a2722ce2b85825459331b1946
|
||||
|
|
|
|||
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} ) # TODO: add 3.7/3.8 support (python2_7 is deprecated)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library for using the MISP Rest API"
|
||||
HOMEPAGE="https://github.com/MISP/PyMISP"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/py2neo[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||
dev-python/deprecated[${PYTHON_USEDEP}]
|
||||
dev-python/cachetools[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinx-autodoc-typehints
|
||||
dev-python/recommonmark )
|
||||
test? (
|
||||
dev-python/python-magic
|
||||
dev-python/requests-mock )"
|
||||
|
||||
src_test() {
|
||||
# FIXME (20191022-2.4.117): maybe it wrong i dont know
|
||||
# test_object_level_tag (tests.test_mispevent.TestMISPEvent) ...
|
||||
# skipped 'Not supported on MISP: https://github.com/MISP/MISP/issues/2638 - https://github.com/MISP/PyMISP/issues/168'
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd docs/ >/dev/null || die
|
||||
|
||||
emake -j1 man html
|
||||
|
||||
doman build/man/pymisp.1
|
||||
dodoc -r build/html
|
||||
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library for using the MISP Rest API"
|
||||
HOMEPAGE="https://github.com/MISP/PyMISP"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/py2neo[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||
dev-python/deprecated[${PYTHON_USEDEP}]
|
||||
dev-python/cachetools[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinx-autodoc-typehints
|
||||
dev-python/recommonmark )
|
||||
test? (
|
||||
dev-python/python-magic
|
||||
dev-python/requests-mock )"
|
||||
|
||||
src_test() {
|
||||
# FIXME (20191022-2.4.117): maybe it wrong i dont know
|
||||
# test_object_level_tag (tests.test_mispevent.TestMISPEvent) ...
|
||||
# skipped 'Not supported on MISP: https://github.com/MISP/MISP/issues/2638 - https://github.com/MISP/PyMISP/issues/168'
|
||||
esetup.py test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
if use doc; then
|
||||
pushd docs/ >/dev/null || die
|
||||
|
||||
emake -j1 man html
|
||||
|
||||
doman build/man/pymisp.1
|
||||
dodoc -r build/html
|
||||
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
DIST pyzmq-17.1.0.tar.gz 1082716 BLAKE2B eed059cad8cc37e9315d16a43768f531ada1274b46bdf91d2ebe83cd0b4c269ea99a8532e3db6d0ea68be31600cf7d29ea4c4e894aa6d04c61534b11fb816d54 SHA512 7f1975c4d02e7d47577049da8df84753905d01672d5a244cef2e5b05e0b6fdb22e88cbb36f2e59831e95a8224819183d9a82baf1f9d7f599da61bcbfe2fc23d3
|
||||
DIST pyzmq-19.0.0.tar.gz 1150320 BLAKE2B a2af57b1cb809ab72aff1bbee17a7fff5eeeff90805884542579c7cb58c235f8b257a8724c64f55cc8e8eda4a943ec2f54490d546a74bc1532557c46b420e6d2 SHA512 06a395fee62c78f806c43b07362fe2d4b7ac05813d75d4b983f8eefffbe0ca36f64db1591ead719b2866fcfe0867c919033eca0063ca32529e649cd9790461b1
|
||||
|
|
|
|||
|
|
@ -1,67 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit flag-o-matic distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library"
|
||||
HOMEPAGE="https://www.zeromq.org/bindings:python https://pypi.org/project/pyzmq/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=net-libs/zeromq-4.2.2-r2:=[drafts]
|
||||
dev-python/py[${PYTHON_USEDEP}]
|
||||
dev-python/cffi:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-5.0.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/numpydoc[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-test_message.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed download during build
|
||||
sed -e "/'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
tc-export CC
|
||||
append-cppflags -DZMQ_BUILD_DRAFT_API=1
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
esetup.py cython --force
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} -m pytest -v "${BUILD_DIR}/lib" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit flag-o-matic distutils-r1 toolchain-funcs
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
|
||||
PYTHON_COMPAT=( python3_{4,5,6,7} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} pypy{,3} )
|
||||
PYTHON_COMPAT=( python3_{6,7} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
DIST syslog-rfc5424-formatter-1.1.1.tar.gz 4182 BLAKE2B f263d93a938eed23e3ad20f3b59b3b9808a9b835b67bdf0f55101db54820c09af56768385421678d6b88fcf9210a40c4e8e547c9b47def8e109fdee517e5fd4e SHA512 b76a9f640c05ea9deeb71920f172e9ce8a4502271a5577a70606e0e0c2fef940713023a77606441cbdcbe8c1fa115ceaece6ae53a9691ca932cbfc7756eca455
|
||||
DIST syslog-rfc5424-formatter-1.2.2.tar.gz 4817 BLAKE2B d20d1fe325a61cbdc2d139be2326617f4240aff64a2bdef24594faec78ed575d8606547d9409526028f348eb900603ae6424434069412c673b4bc66a9def62fa SHA512 79ec3ca32bba6737cbe5927c0282190be49ec3b44ea789d9375000bcd61ab64cdfc452549044052b064fe1de8476536bb2fbbbc870122c5cb455927aeb417025
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Logging formatter which produces well-formatted RFC5424 Syslog Protocol messages"
|
||||
HOMEPAGE="https://github.com/easypost/syslog-rfc5424-formatter"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_6 )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
EGO_PN=github.com/tomato42/${PN}
|
||||
|
||||
inherit distutils-r1
|
||||
|
|
@ -27,7 +27,6 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/coverage
|
||||
dev-python/enum34
|
||||
dev-python/hypothesis
|
||||
dev-python/pylint
|
||||
dev-python/unittest2"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
DIST vulners-1.5.4.tar.gz 27166 BLAKE2B 8c2e53d876f5895513128a2fa7919c1e80a7b599a68f84241d9c6a9adf9da18137f3e09491680f6067a4f2fe41376b2740a2fa07d7195b0cd7f8527185fd4d85 SHA512 490ec29157c76d04d34d9c865d2004df43ed9c0c0d55d96d53f6f2abbdaa6341b84e3d93f0cb6790a8a393d8455fa5e4cfcfc7cd67ed6589548a5ca508d03bec
|
||||
DIST vulners-1.5.5.tar.gz 27193 BLAKE2B 4e4388f7e0f5fc5eb4e332651e0dbca39895cbd5c707ef398ec1650fceb3655888b51e224f8e3c4e6fec8754065bd26d6f11000805457c4fd9a2617fa273f056 SHA512 32bca0e212b19bcdf25afd235b02e51bd7ae4a961b1df790bc3df828fce4c2953956bc945016604abf40481fa5e44ef205ead385b1839285a9d0654266531922
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python API wrapper for the Vulners Database"
|
||||
HOMEPAGE="https://github.com/vulnersCom/api"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm ~x86"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]"
|
||||
|
|
@ -17,8 +17,6 @@ KEYWORDS="~amd64 ~x86"
|
|||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/marshmallow-2.15.2[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/simplejson[${PYTHON_USEDEP}]' pypy python2_7 )
|
||||
"
|
||||
>=dev-python/marshmallow-2.15.2[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
|
||||
PYTHON_COMPAT=( pypy{,3} python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
|
@ -20,9 +20,7 @@ IUSE="examples test"
|
|||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' pypy python2_7 )
|
||||
"
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND} )
|
||||
|
|
|
|||
|
|
@ -23,6 +23,5 @@ DEPEND="${RDEPEND}
|
|||
test? ( dev-python/pytest )"
|
||||
|
||||
src_test() {
|
||||
python2 -m pytest tests/ || die
|
||||
python3 -m pytest tests/ || die
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue