diff --git a/dev-db/rum/rum-1.3.6.ebuild b/dev-db/rum/rum-1.3.6.ebuild index fe4cc3e29d..1bb5676f27 100644 --- a/dev-db/rum/rum-1.3.6.ebuild +++ b/dev-db/rum/rum-1.3.6.ebuild @@ -19,7 +19,8 @@ KEYWORDS="~amd64 ~x86" DEPEND="${POSTGRES_DEP}" RDEPEND="${DEPEND}" -USE_PGXS=1 +# Needs a running PostgreSQL server +RESTRICT="test" src_compile() { postgres-multi_foreach emake USE_PGXS=1 diff --git a/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild b/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild new file mode 100644 index 0000000000..6c902da6f1 --- /dev/null +++ b/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="A fixtures replacement tool" +HOMEPAGE="https://github.com/FactoryBoy/factory_boy" +SRC_URI="https://github.com/FactoryBoy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/faker[${PYTHON_USEDEP}]" +DEPEND=" + ${RDEPEND} + test? ( + $(python_gen_impl_dep sqlite) + dev-python/django[${PYTHON_USEDEP}] + dev-python/mongoengine[${PYTHON_USEDEP}] + dev-python/pillow[jpeg,${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + ) +" +#not really needed +# dev-python/isort[${PYTHON_USEDEP}] + +# Disable tests which require running mongod +PATCHES=( "${FILESDIR}/${PN}-2.11.1-test.patch" ) + +python_prepare_all() { + # Fix symbolic link QA + rm ChangeLog || die "remove failed" + cp docs/changelog.rst ChangeLog || die "copy failed" + + distutils-r1_python_prepare_all +} + +distutils_enable_tests unittest +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme diff --git a/dev-python/factory_boy/metadata.xml b/dev-python/factory_boy/metadata.xml index 5bacae7dcf..37dfb1886c 100644 --- a/dev-python/factory_boy/metadata.xml +++ b/dev-python/factory_boy/metadata.xml @@ -11,7 +11,15 @@ ORMs (Django, Mongo, SQLAlchemy). + https://github.com/FactoryBoy/factory_boy/issues + https://raw.githubusercontent.com/FactoryBoy/factory_boy/master/docs/changelog.rst + https://factoryboy.readthedocs.io + + raphael.barrois+fboy@polytechnique.org + Raphaël Barrois + FactoryBoy/factory_boy factory_boy + diff --git a/dev-python/pytest-cython/metadata.xml b/dev-python/pytest-cython/metadata.xml index d4c3950f84..0562381727 100644 --- a/dev-python/pytest-cython/metadata.xml +++ b/dev-python/pytest-cython/metadata.xml @@ -1,7 +1,18 @@ + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + https://github.com/lgpage/pytest-cython/issues + https://raw.githubusercontent.com/lgpage/pytest-cython/master/CHANGELOG.rst + https://readthedocs.org/projects/pytest-cython/ + + page.lg@gmail.com + Logan Page + pytest-cython lgpage/pytest-cython diff --git a/dev-python/pytest-cython/pytest-cython-0.1.0.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.0-r1.ebuild similarity index 78% rename from dev-python/pytest-cython/pytest-cython-0.1.0.ebuild rename to dev-python/pytest-cython/pytest-cython-0.1.0-r1.ebuild index df96a72632..4ce9e89791 100644 --- a/dev-python/pytest-cython/pytest-cython-0.1.0.ebuild +++ b/dev-python/pytest-cython/pytest-cython-0.1.0-r1.ebuild @@ -4,9 +4,9 @@ EAPI="7" PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 -DISTUTILS_USE_SETUPTOOLS=rdepend DESCRIPTION="Plugin for testing Cython extension modules" HOMEPAGE="https://github.com/lgpage/pytest-cython" @@ -15,18 +15,21 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" KEYWORDS="~amd64" -#IUSE="test" -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" -#DEPEND=" -# ${RDEPEND} +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} +" +#those deps aren't really required I think # test? ( # dev-python/check-manifest[${PYTHON_USEDEP}] # dev-python/docutils[${PYTHON_USEDEP}] # dev-python/pygments[${PYTHON_USEDEP}] # dev-python/readme_renderer[${PYTHON_USEDEP}] # ) -#" -#distutils_enable_tests pytest +distutils_enable_tests pytest distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme diff --git a/dev-python/pytest-randomly/metadata.xml b/dev-python/pytest-randomly/metadata.xml index 46c425497a..e9b1d80729 100644 --- a/dev-python/pytest-randomly/metadata.xml +++ b/dev-python/pytest-randomly/metadata.xml @@ -29,6 +29,13 @@ By resetting the random seed to a repeatable number for each test, tests can cre This plugin is a Pytest port of my plugin for nose, nose-randomly. I’ve written a blog post on its history. + https://github.com/pytest-dev/pytest-randomly/issues + https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst + + me@adamj.eu + Adam Johnson + + pytest-randomly pytest-dev/pytest-randomly diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild new file mode 100644 index 0000000000..be8f908b13 --- /dev/null +++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" +HOMEPAGE=" + https://pypi.python.org/pypi/pytest-randomly + https://github.com/pytest-dev/pytest-randomly +" +SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/factory_boy[${PYTHON_USEDEP}] + dev-python/faker[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7) +" +#not really needed +# dev-python/isort[${PYTHON_USEDEP}] +# $(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8) +# dev-python/secretstorage[${PYTHON_USEDEP}] +# dev-python/twine[${PYTHON_USEDEP}] + +DEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" +#not really needed +# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8) +# dev-python/multilint[${PYTHON_USEDEP}] + +distutils_enable_tests pytest diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index 1bb65559d1..d7335cca39 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1 +1 @@ -DIST tekore-1.6.0.tar.gz 191825 BLAKE2B 6122ee7fa9b7f0380e18457168aeea2405036cd11a6be4369ce6e343e8ddc97b9b7ddf4cdd3879eaeee503a833e2fa08e459dd6f794143ca7e59109848fad2f9 SHA512 01190393c7762056095f30c17245620c732241b835787b3ffddbfe2dfe3025be813b35fe64cf0289bcd2a9cb6ac5d3d537b55eb16449991bc055331dd3fe8b7b +DIST tekore-1.7.0.tar.gz 191852 BLAKE2B ca0be9e5b8f4e291de87d495098f295529c75457aca466627ab2d8973365a64b40f7a618883c0178ed6482ac4d62ef95d78341992404a4bbbec803fe939afcfb SHA512 a62b456621633e05edb39944e0cf36a0df092468c9e238f6028f8ea684613e37c32f5257d6fb681c758e01f451e2f3d0993f5fa9344463e9f12b5945add161b0 diff --git a/dev-python/tekore/tekore-1.6.0.ebuild b/dev-python/tekore/tekore-1.7.0.ebuild similarity index 100% rename from dev-python/tekore/tekore-1.6.0.ebuild rename to dev-python/tekore/tekore-1.7.0.ebuild diff --git a/dev-python/validators/Manifest b/dev-python/validators/Manifest index bc091eadef..d3a654c499 100644 --- a/dev-python/validators/Manifest +++ b/dev-python/validators/Manifest @@ -1 +1,2 @@ DIST validators-0.14.0.tar.gz 25442 BLAKE2B e4c159afd24b33bd91ea59ca00254712cf69f9a4d180dd794f9b142a372bfd1695cebe7b49585a6b7eb8ea8290499e0138151a3e7a5693db187d8ad2bb520c9e SHA512 ec9153cb817f25e40221502484cdbdb9cf1566fe8445f7b822d4a80325154aca5a665be452f6251351682d36167c5a6bb02c3259d6067f4f51fa1d01aaa44a4e +DIST validators-0.14.3.tar.gz 25893 BLAKE2B 2114d74912457032506eb850e5da856044439f5e02ac707cddcca23b6a59b7725d4253cbb7ce815f6944076a54f686edcbf52d387d2f27b53ca6bccbbdaa4140 SHA512 ea2fc81a63f24d64d2933220ed7674ae9733673c208906d3090bc10bf2119965834759015deedfea218306b1b29e8ff6937698e3b5de73494236516656a16096 diff --git a/dev-python/validators/metadata.xml b/dev-python/validators/metadata.xml index f31aef4089..1ca4382d77 100644 --- a/dev-python/validators/metadata.xml +++ b/dev-python/validators/metadata.xml @@ -5,4 +5,20 @@ lssndrbarbieri@gmail.com Alessandro Barbieri + +Python data validation for Humans. + +Python has all kinds of data validation tools, but every one of them seems to require defining a schema or form. I wanted to create a simple validation library where validating a simple value does not require defining a form or a schema. + + + https://github.com/kvesteri/validators/issues + https://raw.githubusercontent.com/kvesteri/validators/master/CHANGES.rst + https://validators.readthedocs.io/en/latest + + konsta@fastmonkeys.com + Konsta Vesterinen + + kvesteri/validators + validators + diff --git a/dev-python/validators/validators-0.14.0.ebuild b/dev-python/validators/validators-0.14.0-r1.ebuild similarity index 89% rename from dev-python/validators/validators-0.14.0.ebuild rename to dev-python/validators/validators-0.14.0-r1.ebuild index 3a8b85b49a..47c4fba1fc 100644 --- a/dev-python/validators/validators-0.14.0.ebuild +++ b/dev-python/validators/validators-0.14.0-r1.ebuild @@ -21,10 +21,11 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - test? ( - >=dev-python/isort-4.2.2[${PYTHON_USEDEP}] - ) " +#not really required +# test? ( +# >=dev-python/isort-4.2.2[${PYTHON_USEDEP}] +# ) distutils_enable_tests pytest diff --git a/dev-python/validators/validators-0.14.3.ebuild b/dev-python/validators/validators-0.14.3.ebuild new file mode 100644 index 0000000000..71435e7da2 --- /dev/null +++ b/dev-python/validators/validators-0.14.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python Data Validation for Humans" +HOMEPAGE=" + https://github.com/kvesteri/validators + https://pypi.org/project/validators +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.0[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} +" +#not really required +# test? ( +# >=dev-python/isort-4.2.2[${PYTHON_USEDEP}] +# ) + +distutils_enable_tests pytest + +#issues with sphinx.ext.pngmath https://github.com/kvesteri/validators/issues/156 +distutils_enable_sphinx docs "-build function for your doc builder. # For python based doc builders you can use the # python_append_deps function to append [${PYTHON_USEDEP}] -# automatically to additional dependencies -# -# For more information, please see the Python Guide: -# https://dev.gentoo.org/~mgorny/python-guide/ +# automatically to additional dependencies. case "${EAPI:-0}" in 0|1|2|3|4) @@ -48,7 +45,7 @@ esac # @ECLASS-VARIABLE: DOCDIR # @DESCRIPTION: -# Sets the location of the doc builder config file. +# Path containing the doc builder config file(s). # # For sphinx this is the location of "conf.py" # For mkdocs this is the location of "mkdocs.yml" diff --git a/www-apps/twint/Manifest b/www-apps/twint/Manifest index 67f852ae9f..7ea75f5785 100644 --- a/www-apps/twint/Manifest +++ b/www-apps/twint/Manifest @@ -1 +1,2 @@ DIST twint-2.1.18.tar.gz 33213 BLAKE2B 74d8634ad178b40af726347ee144766bc5ae2480842ad617739a12ed469bf7692247bdc4dc5d979a081b88a223ce2649924cf89a6c0ff77acd10142f2290865c SHA512 0060d5f496bd19e74e72243ce83202204eacd28b57db7440ae83d112c96ea962512adf12e590e0843cf5231b1922cfcc943725aaeb2ab31127522be26e7fc9a7 +DIST twint-2.1.19.tar.gz 33142 BLAKE2B aca837c3473543414f57e728b67c46394959a51ecf4fc9b4b1be6f0914a6de79f3afcd725449eb25babfbbdc9786cc3ae74744414489efc4d01b5110c39bc306 SHA512 0318ba4432401f7deace23ca45060f3d380bf28fbdbeee554684606b92c163260cfe352d1c76f1e639aaf451e883b15b09d05b867af55394987503fbcb66d95b diff --git a/www-apps/twint/metadata.xml b/www-apps/twint/metadata.xml index 2aae8d616b..1b56f8c174 100644 --- a/www-apps/twint/metadata.xml +++ b/www-apps/twint/metadata.xml @@ -28,6 +28,12 @@ Limits imposed by Twitter Twitter limits scrolls while browsing the user timeline. This means that with .Profile or with .Favorites you will be able to get ~3200 tweets. + https://github.com/twintproject/twint/wiki + https://github.com/twintproject/twint/issues + + codyzacharias@pm.me + Cody Zacharias + twintproject/twint twint diff --git a/www-apps/twint/twint-2.1.19.ebuild b/www-apps/twint/twint-2.1.19.ebuild new file mode 100644 index 0000000000..650e54b030 --- /dev/null +++ b/www-apps/twint/twint-2.1.19.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_6 ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API" +HOMEPAGE=" + https://github.com/twintproject/twint + https://pypi.org/project/twint +" +SRC_URI="https://github.com/twintproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +#tests require network +RESTRICT="test" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/aiohttp-socks[${PYTHON_USEDEP}] + dev-python/aiodns[${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/cchardet[${PYTHON_USEDEP}] + dev-python/elasticsearch-py[${PYTHON_USEDEP}] + dev-python/fake-useragent[${PYTHON_USEDEP}] + dev-python/geopy[${PYTHON_USEDEP}] + dev-python/googletransx[${PYTHON_USEDEP}] + >=dev-python/pandas-0.23.0[${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/schedule[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_test() { + "${EPYTHON}" test.py -v || die +}