diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-27 18:33:52 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-27 18:33:52 +0000 |
| commit | 683a2b8c4b161bedb6c96f3de736a576a957ddd6 (patch) | |
| tree | 833f6144fd12c0c14c8d4317488dab18207668a7 /dev-python | |
| parent | 3097ccfc7ba3d383fabc1139a5a2a2d95931104f (diff) | |
| download | baldeagleos-repo-683a2b8c4b161bedb6c96f3de736a576a957ddd6.tar.gz baldeagleos-repo-683a2b8c4b161bedb6c96f3de736a576a957ddd6.tar.xz baldeagleos-repo-683a2b8c4b161bedb6c96f3de736a576a957ddd6.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/argcomplete/argcomplete-1.12.1-r1.ebuild (renamed from dev-python/argcomplete/argcomplete-1.12.1.ebuild) | 2 | ||||
| -rw-r--r-- | dev-python/django-debug-toolbar/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild | 54 | ||||
| -rw-r--r-- | dev-python/flufl-lock/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff | 12 | ||||
| -rw-r--r-- | dev-python/flufl-lock/flufl-lock-5.0.1.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild (renamed from dev-python/pyparsing/pyparsing-2.4.7.ebuild) | 2 | ||||
| -rw-r--r-- | dev-python/rply/rply-0.7.7-r1.ebuild (renamed from dev-python/rply/rply-0.7.7.ebuild) | 9 | ||||
| -rw-r--r-- | dev-python/simplejson/simplejson-3.17.2-r1.ebuild (renamed from dev-python/simplejson/simplejson-3.17.2.ebuild) | 2 |
9 files changed, 102 insertions, 10 deletions
diff --git a/dev-python/argcomplete/argcomplete-1.12.1.ebuild b/dev-python/argcomplete/argcomplete-1.12.1-r1.ebuild index 096c73877675..71bbf2834d22 100644 --- a/dev-python/argcomplete/argcomplete-1.12.1.ebuild +++ b/dev-python/argcomplete/argcomplete-1.12.1-r1.ebuild @@ -19,7 +19,7 @@ RESTRICT="!test? ( test )" RDEPEND=" $(python_gen_cond_dep ' - <dev-python/importlib_metadata-2[${PYTHON_USEDEP}] + <dev-python/importlib_metadata-3[${PYTHON_USEDEP}] ' -2 python3_{5,6,7} pypy3)" # pip is called as an external tool BDEPEND=" diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index c0d4d33f4d0e..b32928778e05 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1 +1,2 @@ DIST django-debug-toolbar-2.2.tar.gz 322475 BLAKE2B cff55a26f4d95353edff3d7f678a052c262636afc94307e22e4d9dc1b6bbe3c0bc1a4997c4904a397de97218b462d52e67ac0f80bb05de7736cb278c7dca58ee SHA512 5cd9e50852bd7efeb83879c5e9fe10fe6df5087b746e9cb2a0e13e66b3fe0a815a6eaea4b273258e7e682149bc29ad8979268d2be263539c522624e3f16aa5f5 +DIST django-debug-toolbar-3.1.tar.gz 228867 BLAKE2B af3d8011136ba30e690e03548d757405e9cd89fb5473b277720a3151149e92be212e50a6ec3d95903382716c9594405a1e93a7a1bf231f220f4b5c8ae1e38480 SHA512 c4cfa3cd98adfba7362e259e18a0240b886f294ba10f5c64e12887b00d4dc952e9b80cac0f78e7193a15566585f43d988f6d287e4d0dcc84c4f8395c7006e2b0 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild new file mode 100644 index 000000000000..5f9abc451510 --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A configurable set of panels that display debug information" +HOMEPAGE=" + https://pypi.org/project/django-debug-toolbar/ + https://github.com/django-debug-toolbar/django-debug-toolbar/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + ) +" + +distutils_enable_sphinx docs + +python_prepare_all() { + # This prevents distutils from installing 'tests' package, rm magic no more needed + sed -e "/find_packages/s:'tests':'tests.\*', 'tests':" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + emake test +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index bd3d93f7f12d..fe5c14b99c34 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1 +1,2 @@ DIST flufl-lock-3.2.tar.gz 19250 BLAKE2B 230d7122fb6db1b4002e5732a878d597837f1c8cb10b85f4c131f793f820dc0b76a494504aef89845be4f7bdfab94b17573f83002712c245206c9ce25fac893a SHA512 496195e1c52f628bc6c0e8fc3dcd5373ed01cfee35b6165cae37ab4b90d70265c6a0aea565f1e0663277c2b9e9bafde8af1420133a15e6254275fad2f28a56d0 +DIST flufl-lock-5.0.1.tar.gz 27788 BLAKE2B 2651898e881719f24bc61e14f697877ca39f2747fadf52de1a5fc917b26e23001df5f0a4ea2e48271da69198e1a1336e69cc0167a4f46fddd21f464b355fa4ca SHA512 f937fb6c7f7bef2b85674225f83f3162f34db3fe2df3d9a896f772c4489c3e0611361e3d1d9efda7727112d780f31022d3045d3a3b8e78e9412aca2f2418ca24 diff --git a/dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff b/dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff new file mode 100644 index 000000000000..3cd5bfba99ed --- /dev/null +++ b/dev-python/flufl-lock/files/flufl-lock-dontinstalltests.diff @@ -0,0 +1,12 @@ +diff -Naurp a/setup.py b/setup.py +--- a/setup.py 2020-08-20 06:35:06.000000000 +0200 ++++ b/setup.py 2020-09-27 17:50:43.776476265 +0200 +@@ -24,7 +24,7 @@ setup( + keywords='locking locks lock', + url='https://flufllock.readthedocs.io', + download_url='https://pypi.python.org/pypi/flufl.lock', +- packages=find_namespace_packages(where='.'), ++ packages=find_namespace_packages(where='.', exclude=['tests', 'docs']), + namespace_packages=['flufl'], + include_package_data=True, + # readthedocs builds fail unless zip_safe is False. diff --git a/dev-python/flufl-lock/flufl-lock-5.0.1.ebuild b/dev-python/flufl-lock/flufl-lock-5.0.1.ebuild new file mode 100644 index 000000000000..7184a13c6a67 --- /dev/null +++ b/dev-python/flufl-lock/flufl-lock-5.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +inherit distutils-r1 + +MY_PN=${PN/-/.} + +DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems." +HOMEPAGE="https://gitlab.com/warsaw/flufl.lock" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_{6,7})" + +# See https://gitlab.com/warsaw/flufl.lock/-/issues/22 +PATCHES=( "${FILESDIR}/flufl-lock-dontinstalltests.diff" ) diff --git a/dev-python/pyparsing/pyparsing-2.4.7.ebuild b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild index 6c3961174735..bffe146d3173 100644 --- a/dev-python/pyparsing/pyparsing-2.4.7.ebuild +++ b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) DISTUTILS_USE_SETUPTOOLS=bdepend inherit distutils-r1 diff --git a/dev-python/rply/rply-0.7.7.ebuild b/dev-python/rply/rply-0.7.7-r1.ebuild index 6d11673315b5..8b090d863ac7 100644 --- a/dev-python/rply/rply-0.7.7.ebuild +++ b/dev-python/rply/rply-0.7.7-r1.ebuild @@ -14,16 +14,11 @@ SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" DEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] test? ( - dev-python/py[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] )" + dev-python/py[${PYTHON_USEDEP}] )" -python_test() { - pytest -vv || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests pytest diff --git a/dev-python/simplejson/simplejson-3.17.2.ebuild b/dev-python/simplejson/simplejson-3.17.2-r1.ebuild index a794ef46cf08..c15472fdbe4e 100644 --- a/dev-python/simplejson/simplejson-3.17.2.ebuild +++ b/dev-python/simplejson/simplejson-3.17.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8,9} ) +PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) inherit distutils-r1 |
