diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-10-29 18:34:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-10-29 18:34:23 +0000 |
| commit | ded7c225c87bebaf7662739a2bd4d18ef3eb276c (patch) | |
| tree | 49984358781311df9b8f7d799fb63896af5e56a6 /dev-python | |
| parent | caf825050b0243c3fce4b23edf8a9ec653b4b23a (diff) | |
| download | baldeagleos-repo-ded7c225c87bebaf7662739a2bd4d18ef3eb276c.tar.gz baldeagleos-repo-ded7c225c87bebaf7662739a2bd4d18ef3eb276c.tar.xz baldeagleos-repo-ded7c225c87bebaf7662739a2bd4d18ef3eb276c.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/rst-linker/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/rst-linker/rst-linker-2.1.1.ebuild | 41 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild b/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild index 6240452fb879..f777cf7d1461 100644 --- a/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild +++ b/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild @@ -29,5 +29,7 @@ python_prepare_all() { # benchmark tests have extra dependencies rm libpy_simdjson/tests/test_benchmark.py || die + sed -e 's:werror=True:werror=False:' -i setup.py || die + distutils-r1_python_prepare_all } diff --git a/dev-python/rst-linker/Manifest b/dev-python/rst-linker/Manifest index bce775091e28..f48e515c83f5 100644 --- a/dev-python/rst-linker/Manifest +++ b/dev-python/rst-linker/Manifest @@ -1 +1,2 @@ DIST rst.linker-2.0.0.tar.gz 12861 BLAKE2B f52ddab3c8119f0bac64e294e4a5a3cc50916f19f49ca1ca4983d8b5d2bb5401c6accb5873df38609386e12fcd1cb02b867f3633edd4d10606a98936e96e62eb SHA512 ea9fa95de66c95dc384c888446512be66b180d0d76e99fe7a6b8f8348436d4be959d3d567fa521d9fc925b537467a4fdf05f9e9d17f7a6df4aafd6dfd323e4fc +DIST rst.linker-2.1.1.tar.gz 13492 BLAKE2B 0f53f3110c4a54e7eb36787ed08f81d0ce551174251203b7184ccbcc0153ee450e8e8927e8989b572b929219b1002019f49167482d59956ad96a54360317f998 SHA512 c49e6b3de41636184f75941d8fa258c2dad3d13a7d82b6221a10f583ada228a96f56abefce7840f93cbae8512332b69430601961cc396f3917b912e369b2b1b9 diff --git a/dev-python/rst-linker/rst-linker-2.1.1.ebuild b/dev-python/rst-linker/rst-linker-2.1.1.ebuild new file mode 100644 index 000000000000..e3e1de6f04ee --- /dev/null +++ b/dev-python/rst-linker/rst-linker-2.1.1.ebuild @@ -0,0 +1,41 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog" +HOMEPAGE="https://github.com/jaraco/rst.linker" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( + dev-python/path-py[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs ">=dev-python/jaraco-packaging-3.2" +distutils_enable_tests pytest + +python_test() { + # Ignore the module from ${S}, use the one from ${BUILD_DIR} + # Otherwise, ImportMismatchError may occur + # https://github.com/gentoo/gentoo/pull/1622#issuecomment-224482396 + # Override pytest options to skip flake8 + pytest -vv --ignore=rst --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} |
