diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-03 14:15:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-03 14:15:43 +0000 |
| commit | f8a6ac6363b6b33f110321607c6ce1cd7db40760 (patch) | |
| tree | 6cfabddd00b43f4a4e01544b85170432c5a32739 /dev-python | |
| parent | 86b08918ec53b913d593ac35cc249bc60be6e142 (diff) | |
| download | baldeagleos-repo-f8a6ac6363b6b33f110321607c6ce1cd7db40760.tar.gz baldeagleos-repo-f8a6ac6363b6b33f110321607c6ce1cd7db40760.tar.xz baldeagleos-repo-f8a6ac6363b6b33f110321607c6ce1cd7db40760.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
26 files changed, 166 insertions, 517 deletions
diff --git a/dev-python/dulwich/dulwich-0.20.23.ebuild b/dev-python/dulwich/dulwich-0.20.23.ebuild index 5cd647fe06aa..c1ebeb300344 100644 --- a/dev-python/dulwich/dulwich-0.20.23.ebuild +++ b/dev-python/dulwich/dulwich-0.20.23.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2+ Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" RESTRICT="!test? ( test )" diff --git a/dev-python/imread/imread-0.7.3-r1.ebuild b/dev-python/imread/imread-0.7.3-r1.ebuild index ca4ddea1cf0f..b16c17a3c7c9 100644 --- a/dev-python/imread/imread-0.7.3-r1.ebuild +++ b/dev-python/imread/imread-0.7.3-r1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="Read Image Files" @@ -20,14 +19,10 @@ RDEPEND=" media-libs/libpng:0 media-libs/libwebp:0 media-libs/tiff:0 - " - -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) + virtual/jpeg " +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" -distutils_enable_sphinx docs \ - 'dev-python/numpydoc' - +distutils_enable_sphinx docs/source distutils_enable_tests setup.py diff --git a/dev-python/logfury/logfury-0.1.2-r1.ebuild b/dev-python/logfury/logfury-0.1.2-r1.ebuild index fcf30ec6e94b..b5c6d39e3d4a 100644 --- a/dev-python/logfury/logfury-0.1.2-r1.ebuild +++ b/dev-python/logfury/logfury-0.1.2-r1.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="Boilerplate library for logging method calls" @@ -15,16 +14,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -PATCHES=( - "${FILESDIR}/${P}-fix-requirements-remove-dev-tests.patch" -) - RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} +BDEPEND=" test? ( dev-python/testfixtures[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] )" -distutils_enable_tests setup.py +PATCHES=( + "${FILESDIR}/${P}-fix-requirements-remove-dev-tests.patch" +) + +distutils_enable_tests nose diff --git a/dev-python/logfury/metadata.xml b/dev-python/logfury/metadata.xml index 2086dcbd5a00..115444dc9863 100644 --- a/dev-python/logfury/metadata.xml +++ b/dev-python/logfury/metadata.xml @@ -13,4 +13,5 @@ <remote-id type="pypi">logfury</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/oset/files/oset-0.1.3-fix-py3.10.patch b/dev-python/oset/files/oset-0.1.3-fix-py3.10.patch new file mode 100644 index 000000000000..dbc04b40472f --- /dev/null +++ b/dev-python/oset/files/oset-0.1.3-fix-py3.10.patch @@ -0,0 +1,14 @@ +--- a/src/oset/pyoset.py ++++ b/src/oset/pyoset.py +@@ -13,7 +13,10 @@ + def next(it): + return it.next() + else: +- from collections import MutableSet ++ try: ++ from collections.abc import MutableSet ++ except ImportError: ++ from collections import MutableSet + + KEY, PREV, NEXT = range(3) + diff --git a/dev-python/oset/oset-0.1.3.ebuild b/dev-python/oset/oset-0.1.3.ebuild index 5aae37f054df..e6632eba9a7b 100644 --- a/dev-python/oset/oset-0.1.3.ebuild +++ b/dev-python/oset/oset-0.1.3.ebuild @@ -5,7 +5,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 DESCRIPTION="Ordered Set" @@ -15,3 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${P}-fix-py3.10.patch" +) diff --git a/dev-python/pypugjs/metadata.xml b/dev-python/pypugjs/metadata.xml index 4f17e9e9a364..b28f68b7da61 100644 --- a/dev-python/pypugjs/metadata.xml +++ b/dev-python/pypugjs/metadata.xml @@ -14,4 +14,5 @@ Jinja2, Mako or Tornado). <remote-id type="pypi">pypugjs</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pypugjs/pypugjs-5.9.9.ebuild b/dev-python/pypugjs/pypugjs-5.9.9.ebuild index ef460fdea78f..3bd93eb7ec1d 100644 --- a/dev-python/pypugjs/pypugjs-5.9.9.ebuild +++ b/dev-python/pypugjs/pypugjs-5.9.9.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS="rdepend" +EAPI=8 -inherit distutils-r1 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 optfeature DESCRIPTION="Pug (Jade) syntax adapter for Django, Jinja2 and Mako templates" HOMEPAGE="https://github.com/kakulukia/pypugjs" @@ -15,9 +14,30 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" -IUSE="" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] - dev-python/chardet + dev-python/chardet[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/django[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + ) " -DEPEND="${RDEPEND}" + +distutils_enable_tests nose + +src_prepare() { + # Remove pyramid backend as pyramid isn't packaged + rm -r pypugjs/ext/pyramid || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "converting to Django output" dev-python/django + optfeature "converting to Jinja2 output" dev-python/jinja + optfeature "converting to Mako output" dev-python/mako + optfeature "converting to Tornado output" www-servers/tornado +} diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index a6e03b1addd1..ce22adbe9f48 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,6 +1,2 @@ -DIST pypy2.7-gentoo-patches-7.3.4.tar.xz 7844 BLAKE2B d06694fa085667e40ef8805c29f7ccf95b49f9de4e99e3ebfa3d69c4202a0ddcebb54c524d7d9f9ec67573a8d2ebe38fb7023d4d3ecef67afc907ecef5c16c02 SHA512 aa8ffefb5d30070ae86c1c14c55c277e39d3da66aea3a0951319158fb65e716e7fa7864e8bf5d26314d4b2a8030c766b63cad6a3663822d2875cd8cc1f3f2de5 DIST pypy2.7-gentoo-patches-7.3.5.tar.xz 6928 BLAKE2B 41aff14411882e60102866a41de6a2c13983d5489c9ed928e2823714883b5cca289c093426fdec35b6df8d17de7a96528d799e10412a0f2f02563e152acf24ea SHA512 f12c1a414cf40e86e9d2a7d1cdfaaacc1045f8043da479b5270ef983ffcf01418a70bbd21ae740abf544091cdc5026bffe467d631242d5e9e0863a64fa8d026b -DIST pypy2.7-gentoo-patches-7.3.5rc3.tar.xz 5796 BLAKE2B b1c0fb0a8d86d117a9d4102777605eedd026b614f4b66272b3fc5da246bbe5edf516e95a40471117b61078c18b9fc615e55e0992a5d0a1be7caf9026ee26b6be SHA512 8699813837dfa4560a6e73b96f770c5d5999ce008e17cf62a856a454cb0b63146787a54934874162c79345488959e0936b3bd03823bc9f8e276f80df1122f7a8 -DIST pypy2.7-v7.3.4-src.tar.bz2 21571561 BLAKE2B d0ac56fadec63fe7e65728c36c2aaf96fc5f54919dddbca9571a24c42a9e3e21f672f84555a18a384c4715f0489bd7aef009c0a47b635de88c472a93e2ae8d71 SHA512 4c18c2dbfbf0cc1034bea773828204df77aec7ef82119fb94e5cb762ce1783e00ad70e99d1432b4948dc132e726bdc6015f4a5bf10a5b10415bcfe99da2ecd17 DIST pypy2.7-v7.3.5-src.tar.bz2 21572184 BLAKE2B 388b8623c2c5de839dea0e60acc5e11a6a774b4a6cdc051691053a97fe13ec12c6735a4be64015653ef420c0d8af2c79d8faa90a7dfc3042e29f35f4e1ded6c3 SHA512 a30c666c29eec7cca7e2e52f26480958b5885cd59c6b2e3d3c0d8c1cc55c298e878fc95f88e38a4297bb3d7d1cc1f77470de958e5acfd317e1fc8bdd5d013dcb -DIST pypy2.7-v7.3.5rc3-src.tar.bz2 21563312 BLAKE2B e343dcd617026ea5f951f3d24deeb59736c9a6ecc91d1b9c1bd980b6f3c239a5bf0edb9b72a0847a6aeeaead8aca9ecf537af81c9fcf0a2f6647c99edc0d1735 SHA512 e080771ea10a30820f8844b3f512a7681f2e619e8a37fa8ac60198f3c8c3780a8e08aa63749be375c00cd547994f428df44e2cd9f61b272b215ded433374e0a1 diff --git a/dev-python/pypy-exe/pypy-exe-7.3.4.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.4.ebuild deleted file mode 100644 index bbe758a18fa2..000000000000 --- a/dev-python/pypy-exe/pypy-exe-7.3.4.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) -inherit check-reqs pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy2.7-v${PYPY_PV} -PATCHSET="pypy2.7-gentoo-patches-${PV}" - -DESCRIPTION="PyPy executable (build from source)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -SLOT="${PYPY_PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" - -RDEPEND=">=sys-libs/zlib-1.1.3:0= - dev-libs/libffi:0= - virtual/libintl:0= - dev-libs/expat:0= - bzip2? ( app-arch/bzip2:0= ) - ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy-exe-bin:${PYPY_PV}" -# don't enforce the dep on pypy with USE=low-memory since it's going -# to cause either collisions or circular dep on itself -DEPEND="${RDEPEND}" -BDEPEND=" - !low-memory? ( - || ( - dev-python/pypy - dev-lang/python:2.7 - ) - )" - -check_env() { - if use low-memory; then - if ! has_version -b dev-python/pypy && - ! has_version -b dev-python/pypy-bin - then - eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy" - eerror "being installed. Please install it using e.g.:" - eerror - eerror " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" - eerror - eerror "before attempting to build dev-python/pypy-exe[low-memory]." - die "dev-python/pypy needs to be installed for USE=low-memory" - fi - - CHECKREQS_MEMORY="1750M" - use amd64 && CHECKREQS_MEMORY="3500M" - else - CHECKREQS_MEMORY="3G" - use amd64 && CHECKREQS_MEMORY="6G" - fi - - check-reqs_pkg_pretend -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_env -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - check_env - - use low-memory && EPYTHON= - if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && - { has_version -b dev-python/pypy || - has_version -b dev-python/pypy-bin; } - then - einfo "Using already-installed PyPy to perform the translation." - EPYTHON=pypy - else - einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" - einfo "recommends using PyPy for that. If you wish to do so, please unset" - einfo "the EPYTHON variable." - python-any-r1_pkg_setup - fi - fi -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_configure() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use cpu_flags_x86_sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - --no-shared - $(usex jit -Ojit -O2) - - ${jit_backend} - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - local interp=( "${EPYTHON}" ) - if use low-memory; then - interp=( env PYPY_GC_MAX_DELTA=200MB - "${EPYTHON}" --jit loop_longevity=300 ) - fi - - if [[ ${EPYTHON} != pypy ]]; then - # reuse bundled pycparser to avoid external dep - mkdir -p "${T}"/pymod/cffi || die - : > "${T}"/pymod/cffi/__init__.py || die - cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die - local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} - fi - - # translate into the C sources - # we're going to build them ourselves since otherwise pypy does not - # free up the unneeded memory before spawning the compiler - set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "translation failed" -} - -src_compile() { - emake -C "${T}"/usession*-0/testing_1 -} - -src_install() { - local dest=/usr/lib/pypy2.7 - exeinto "${dest}" - newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} - insinto "${dest}"/include/${PYPY_PV} - doins include/pypy_* - pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" -} diff --git a/dev-python/pypy-exe/pypy-exe-7.3.5.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.5.ebuild index 4c861a737ba0..e70396791a30 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.5.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.5.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}-src" LICENSE="MIT" SLOT="${PYPY_PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" RDEPEND=">=sys-libs/zlib-1.1.3:0= diff --git a/dev-python/pypy-exe/pypy-exe-7.3.5_rc3.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.5_rc3.ebuild deleted file mode 100644 index 08a241f6d46f..000000000000 --- a/dev-python/pypy-exe/pypy-exe-7.3.5_rc3.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) -inherit check-reqs pax-utils python-any-r1 toolchain-funcs - -PYPY_PV=${PV%_p*} -MY_P=pypy2.7-v${PYPY_PV/_} -PATCHSET="pypy2.7-gentoo-patches-${PV/_}" - -DESCRIPTION="PyPy executable (build from source)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz" -S="${WORKDIR}/${MY_P}-src" - -LICENSE="MIT" -SLOT="${PYPY_PV}" -KEYWORDS="" -IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" - -RDEPEND=">=sys-libs/zlib-1.1.3:0= - dev-libs/libffi:0= - virtual/libintl:0= - dev-libs/expat:0= - bzip2? ( app-arch/bzip2:0= ) - ncurses? ( sys-libs/ncurses:0= ) - !dev-python/pypy-exe-bin:${PYPY_PV}" -# don't enforce the dep on pypy with USE=low-memory since it's going -# to cause either collisions or circular dep on itself -DEPEND="${RDEPEND}" -BDEPEND=" - !low-memory? ( - || ( - dev-python/pypy - dev-lang/python:2.7 - ) - )" - -check_env() { - if use low-memory; then - if ! has_version -b dev-python/pypy && - ! has_version -b dev-python/pypy-bin - then - eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy" - eerror "being installed. Please install it using e.g.:" - eerror - eerror " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" - eerror - eerror "before attempting to build dev-python/pypy-exe[low-memory]." - die "dev-python/pypy needs to be installed for USE=low-memory" - fi - - CHECKREQS_MEMORY="1750M" - use amd64 && CHECKREQS_MEMORY="3500M" - else - CHECKREQS_MEMORY="3G" - use amd64 && CHECKREQS_MEMORY="6G" - fi - - check-reqs_pkg_pretend -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_env -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - check_env - - use low-memory && EPYTHON= - if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && - { has_version -b dev-python/pypy || - has_version -b dev-python/pypy-bin; } - then - einfo "Using already-installed PyPy to perform the translation." - EPYTHON=pypy - else - einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" - einfo "recommends using PyPy for that. If you wish to do so, please unset" - einfo "the EPYTHON variable." - python-any-r1_pkg_setup - fi - fi -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - default -} - -src_configure() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use cpu_flags_x86_sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - --no-shared - $(usex jit -Ojit -O2) - - ${jit_backend} - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - local interp=( "${EPYTHON}" ) - if use low-memory; then - interp=( env PYPY_GC_MAX_DELTA=200MB - "${EPYTHON}" --jit loop_longevity=300 ) - fi - - if [[ ${EPYTHON} != pypy ]]; then - # reuse bundled pycparser to avoid external dep - mkdir -p "${T}"/pymod/cffi || die - : > "${T}"/pymod/cffi/__init__.py || die - cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die - local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} - fi - - # translate into the C sources - # we're going to build them ourselves since otherwise pypy does not - # free up the unneeded memory before spawning the compiler - set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "translation failed" -} - -src_compile() { - emake -C "${T}"/usession*-0/testing_1 -} - -src_install() { - local dest=/usr/lib/pypy2.7 - exeinto "${dest}" - newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} - insinto "${dest}"/include/${PYPY_PV} - doins include/pypy_* - pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe-bin/Manifest b/dev-python/pypy3-exe-bin/Manifest index da711e5d5c37..71f550d01984 100644 --- a/dev-python/pypy3-exe-bin/Manifest +++ b/dev-python/pypy3-exe-bin/Manifest @@ -1,4 +1,2 @@ -DIST pypy3-exe-7.3.4-1.amd64.xpak 12038379 BLAKE2B 6f51ec285cedef0703a9e145e5ac0ada1d19585be97997a8156a3964949490fd0c874b8c355433d3cd04df4df5c11be7f5badefe2e9c69129052fe51de627a72 SHA512 f1badabde936f5dc5700fda01941be249f4a056f1d61a685bb8c168a5cca6eac4c7e6cd660a5a5d2695307a3b7f4ef1941e5ea63a57816b669d54f497a1a5b91 -DIST pypy3-exe-7.3.4-1.x86.xpak 9159557 BLAKE2B 754fd401084c480a5a2a20c6e9a533fa5f691cbca06b0516d3d44fdf9529541c43f84fccdfdd70422231ddb887a9f5a9e38789b6fc3dce81d9f0fafade587bec SHA512 ff05c3ae252b0a5eeb403a18782707ea8884126763a83bcebe1e60934ad7cd6070db24ebeeffb15397b6c02fc68766011438b2064b484ae6d24991311e2a012a DIST pypy3-exe-7.3.5-1.amd64.xpak 12030139 BLAKE2B f9a76a2304b3a29985209910b2082aeb07f08a22fce771aa7d548af6e662b88563f61b66582fe0ded21a00463725d4b21cb943c6dedba090cdcfcbf2754433f6 SHA512 d223095cc28f5fceb10196a172ddc2e363dd7e0c5e55b79c959d2ff3f84cb96c652e44bf8c2f7b4555d90289fa0768b18cc26a9212264ab397dd7308a14a93df DIST pypy3-exe-7.3.5-1.x86.xpak 9156096 BLAKE2B c3a3a329c2f8bd843fc4c882bbddc1ad124dc797d4915818769e79663e53e787b991b04b8006e8b8548249e4e76d8b68545b9d7470d8cf41bece2cd8e085066c SHA512 b58d48e1fde3ec12b497a30035b719a64a16de1292fb34df6a8e3ecddc277a477641d7781a3440ef2b73dfb1b50ca34cbdca702f27d6a5e00ad25e88bd8ebf34 diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.4-r1.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.4-r1.ebuild deleted file mode 100644 index 64af9ea94084..000000000000 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.4-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit pax-utils - -MY_P=pypy3-exe-${PV}-1 -DESCRIPTION="PyPy3 executable (pre-built version)" -HOMEPAGE="https://www.pypy.org/" -SRC_URI=" - amd64? ( - https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.amd64.xpak - ) - x86? ( - https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak - -> ${MY_P}.x86.xpak - )" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="${PV%_p*}" -KEYWORDS="amd64 x86" - -RDEPEND=">=sys-libs/zlib-1.1.3:0/1 - || ( - dev-libs/libffi-compat:7 - dev-libs/libffi:0/7 - ) - virtual/libintl:0/0 - dev-libs/expat:0/0 - app-arch/bzip2:0/1 - sys-libs/ncurses:0/6 - !dev-python/pypy-exe:${SLOT}" - -PYPY_PV=${SLOT%_p*} -QA_PREBUILT=" - usr/lib/pypy3.7/pypy3-c-${PYPY_PV}" - -src_unpack() { - ebegin "Unpacking ${MY_P}.${ARCH}.xpak" - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak") - eend ${?} || die "Unpacking ${MY_P} failed" -} - -src_install() { - insinto / - doins -r usr - fperms +x "/usr/lib/pypy3.7/pypy3-c-${PYPY_PV}" - pax-mark m "${ED}/usr/lib/pypy3.7/pypy3-c-${PYPY_PV}" -} diff --git a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.5.ebuild b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.5.ebuild index b8309912e695..64af9ea94084 100644 --- a/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.5.ebuild +++ b/dev-python/pypy3-exe-bin/pypy3-exe-bin-7.3.5.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="${PV%_p*}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=">=sys-libs/zlib-1.1.3:0/1 || ( diff --git a/dev-python/sphinx-jinja/Manifest b/dev-python/sphinx-jinja/Manifest index 305af2c777e5..97f68f2876c6 100644 --- a/dev-python/sphinx-jinja/Manifest +++ b/dev-python/sphinx-jinja/Manifest @@ -1 +1,2 @@ DIST sphinx-jinja-0.3.0.tar.gz 7035 BLAKE2B a43c2ab6c1f0178987ccf9f69acbf0b50974573b83d0503e7888a56bf024e519ad69e3ac6ec9b8d27d7e01e9482008b6579c6892ce114124c0ef12ef456c887c SHA512 b39211a0013db020112c865335811317699e7ade734bfd9bb24f51934df4652f0560b81f5e253fc663fbd8a269fd962ef2bfd6dc96eab12a397a538e758cddfd +DIST sphinx-jinja-1.1.0.tar.gz 7306 BLAKE2B 17b8df65f32e0b39eeed406b9bd71974a2b4399154b6d3bf13d9011c0d415b856345ec2fffff8fed39f893b7adb5fa1c012ebf80319ac6af74739e7fe9372229 SHA512 acbe1c2f2044b8e202db60a9964c509a33206c113ca2833dc43bb4849bc91e26b0c84959d8c8f2e5331c33c2e9de73c0348a3841740a5b7d260a43bf4876949f diff --git a/dev-python/sphinx-jinja/metadata.xml b/dev-python/sphinx-jinja/metadata.xml index a83ce67d2891..6ff79b0425c9 100644 --- a/dev-python/sphinx-jinja/metadata.xml +++ b/dev-python/sphinx-jinja/metadata.xml @@ -5,4 +5,5 @@ <remote-id type="pypi">sphinx-jinja</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinx-jinja/sphinx-jinja-1.1.0.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-1.1.0.ebuild new file mode 100644 index 000000000000..237ff52c7c57 --- /dev/null +++ b/dev-python/sphinx-jinja/sphinx-jinja-1.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A sphinx extension to include jinja based templates into a sphinx doc" +HOMEPAGE="https://github.com/tardyp/sphinx-jinja https://pypi.org/project/sphinx-jinja/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/sphinx-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests nose + +src_prepare() { + sed -e "s/import urllib/import urllib.request as urllib/" \ + -i sphinxcontrib/jinja.py || die + distutils-r1_src_prepare +} + +python_install_all() { + distutils-r1_python_install_all + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest index 4a10883128ad..8a3ed968d47c 100644 --- a/dev-python/sphinxcontrib-bibtex/Manifest +++ b/dev-python/sphinxcontrib-bibtex/Manifest @@ -1,3 +1 @@ -DIST sphinxcontrib-bibtex-2.2.0.tar.gz 96027 BLAKE2B 77ca45e36f1730fa6992cfe41763a34e2a0bcdc99c520412591be3c219dcb7a8af240cc74d08c260548475b88b6cfba24b82e7bad2ab21b24c0e9cb62590792a SHA512 fa78d35f04825f841f757e2708d0ebbd3617a7bf20a893249eaee7e435ff2880ffc8bd23608356904ce41fc11d7fd49bab20f3da501d4a217593c52d99caebaa -DIST sphinxcontrib-bibtex-2.2.1.tar.gz 96251 BLAKE2B 3ff2ad5b7a37535177c19ba82cf53bd3a57e9f143f9157a7c5be6fd72b5c402893c172e9d902b2e12ac527833c742c3ffed81ee3407eb48fcf2937eadc3aab3b SHA512 c34199cc5180dbd8b804daf4ca1bcd830605b9620a44312c632fd9313ad87ab495b6e134f5042167daefa36c5295f61c03ee90b69396f746bc6ec7bfa182a69b DIST sphinxcontrib-bibtex-2.3.0.tar.gz 100159 BLAKE2B 96c9ebf48f11354ea3978a053828f9290457aff4fa1f0bb3d9f94bfe6fb5d5463f83bb12004f22bf8e34a517393848482a27d6754c682d25a0de64c3c7d06ecc SHA512 84652cfc7ad19ad5cdc1dba9a8aa7f835c5c95850a8e941067fd79b6b271733a63a1ba457a59e18156737888c2f42350b7fe0cf2d55ea478629b74b00d14f908 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.2.0.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.2.0.ebuild deleted file mode 100644 index 5b862ea6d63d..000000000000 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.2.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx extensions for BibTeX style citations" -HOMEPAGE="https://github.com/mcmtroffaes/sphinxcontrib-bibtex" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/oset[${PYTHON_USEDEP}] - dev-python/pybtex[${PYTHON_USEDEP}] - dev-python/pybtex-docutils[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest -distutils_enable_sphinx doc - -python_test() { - pytest -vv test || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.2.1.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.2.1.ebuild deleted file mode 100644 index 526b49c35751..000000000000 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.2.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Sphinx extensions for BibTeX style citations" -HOMEPAGE="https://github.com/mcmtroffaes/sphinxcontrib-bibtex" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/oset[${PYTHON_USEDEP}] - dev-python/pybtex[${PYTHON_USEDEP}] - dev-python/pybtex-docutils[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest -distutils_enable_sphinx doc - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.3.0.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.3.0.ebuild index 526b49c35751..a58e0db5a69c 100644 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.3.0.ebuild +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.3.0.ebuild @@ -1,10 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - inherit distutils-r1 DESCRIPTION="Sphinx extensions for BibTeX style citations" @@ -16,7 +15,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - dev-python/oset[${PYTHON_USEDEP}] dev-python/pybtex[${PYTHON_USEDEP}] dev-python/pybtex-docutils[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/twisted/twisted-21.7.0.ebuild b/dev-python/twisted/twisted-21.7.0.ebuild index 33fbcfefd183..47da04cd63d5 100644 --- a/dev-python/twisted/twisted-21.7.0.ebuild +++ b/dev-python/twisted/twisted-21.7.0.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" IUSE="conch crypt http2 serial test" RESTRICT="!test? ( test )" diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index d791719d1906..c9f8f197da5c 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1,2 +1,3 @@ DIST xdoctest-0.15.4.gh.tar.gz 179295 BLAKE2B 0b44276a219119196543671d8ac24469ecd73b040bbd03ca416320d407f0dd34361dbb2778121621f6efb65835ea421107883277b6e712f03e4c06ea2b03dd6a SHA512 a0a35d5c73a8696266d9be44d11e9dbf05c9ac1165a05e681f7b70ef07ae7d56f4bd179e863b6675e2366f1627015e92092e8250ca592f004680db5ad886ad49 DIST xdoctest-0.15.6.gh.tar.gz 182717 BLAKE2B 39af1bdc381e6b6044321ca1dae8ae893d4af9ba8d595ce5dad0fea7e805420635bc9f9a2c04726cb03a7fa0311eb1df1f93aa59e682790e15a3e119356d7b9a SHA512 5c7a7cfea9a7b37e8e5a383b59896730420dbf737a4217bd19ebe083b48a6d410b0e6713b0e5b9749527ff3992f3d24b83d49622bcde0a68722ecab8337d7040 +DIST xdoctest-0.15.8.gh.tar.gz 185463 BLAKE2B a16578e6d50398ac80d950bcc9a05131880816e2ff3a15bd1489474e532f9b495d099dcea204d8375c884c6957aaaba9b276fbcb65b5717b2850314453f787f7 SHA512 ab4f991ba6e312bf6cf675c3bbeeae87c0666b96c911ee7727f64b8e4c13420bb91e0a7a955ebce73b3fb15625b52bbf1b67c6edfe91234655501060b17723d5 diff --git a/dev-python/xdoctest/files/xdoctest-0.15.8-pytest-flaky.patch b/dev-python/xdoctest/files/xdoctest-0.15.8-pytest-flaky.patch new file mode 100644 index 000000000000..193b3f51bbac --- /dev/null +++ b/dev-python/xdoctest/files/xdoctest-0.15.8-pytest-flaky.patch @@ -0,0 +1,28 @@ +From ec14218904fdd1c06597277deb11c8d3bb33c675 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Fri, 3 Sep 2021 07:27:22 +0200 +Subject: [PATCH] Fix test failure if pytest's flaky plugin is installed + +Disable pytest's flaky plugin in test_simple_pytest_import_error_cli +in order to fix a test failure due to it mangling pytest's return code +on import error. +--- + testing/test_pytest_cli.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testing/test_pytest_cli.py b/testing/test_pytest_cli.py +index 25c8363..8ef9251 100644 +--- a/testing/test_pytest_cli.py ++++ b/testing/test_pytest_cli.py +@@ -67,7 +67,7 @@ def test_simple_pytest_import_error_cli(): + """ + ''') + temp_module = util_misc.TempModule(module_text, modname='imperr_test_mod') +- command = sys.executable + ' -m pytest -v -s --xdoctest-verbose=3 --xdoctest ' + temp_module.dpath ++ command = sys.executable + ' -m pytest -p no:flaky -v -s --xdoctest-verbose=3 --xdoctest ' + temp_module.dpath + print(command) + info = cmd(command) + print(info['out']) +-- +2.33.0 + diff --git a/dev-python/xdoctest/xdoctest-0.15.8.ebuild b/dev-python/xdoctest/xdoctest-0.15.8.ebuild new file mode 100644 index 000000000000..444f826e48af --- /dev/null +++ b/dev-python/xdoctest/xdoctest-0.15.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="A rewrite of Python's builtin doctest module but without all the weirdness" +HOMEPAGE="https://github.com/Erotemic/xdoctest/" +SRC_URI=" + https://github.com/Erotemic/xdoctest/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +# dev-python/nbformat-5.1.{0..2} did not install package data +BDEPEND=" + test? ( + >=dev-python/nbformat-5.1.2-r1[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest +#distutils_enable_sphinx docs/source \ +# dev-python/autoapi \ +# dev-python/sphinx_rtd_theme + +PATCHES=( + "${FILESDIR}"/${P}-pytest-flaky.patch +) |
