diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-21 00:48:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-21 00:48:16 +0000 |
| commit | 6f55c03b8c6cdb63603935b101c4ec3352ac5a23 (patch) | |
| tree | 00f8a392fb63a4204d227ad833ff831dce7b8fe6 /dev-python | |
| parent | bf8ca026b4637375c322ff0b81d61f267b5cfdb4 (diff) | |
| download | baldeagleos-repo-6f55c03b8c6cdb63603935b101c4ec3352ac5a23.tar.gz baldeagleos-repo-6f55c03b8c6cdb63603935b101c4ec3352ac5a23.tar.xz baldeagleos-repo-6f55c03b8c6cdb63603935b101c4ec3352ac5a23.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/cleo/cleo-0.8.1-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/clikit/clikit-0.6.2-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/fonttools/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch | 40 | ||||
| -rw-r--r-- | dev-python/fonttools/fonttools-4.33.3.ebuild | 62 | ||||
| -rw-r--r-- | dev-python/pastel/pastel-0.2.1-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pikepdf/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pikepdf/pikepdf-5.5.0.ebuild | 61 | ||||
| -rw-r--r-- | dev-python/pylev/pylev-1.4.0-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pystache/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pystache/metadata.xml | 5 | ||||
| -rw-r--r-- | dev-python/pystache/pystache-0.6.1.ebuild (renamed from dev-python/pystache/pystache-0.6.0.ebuild) | 30 | ||||
| -rw-r--r-- | dev-python/selenium/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/selenium/selenium-4.4.3.ebuild | 31 | ||||
| -rw-r--r-- | dev-python/xdoctest/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/xdoctest/xdoctest-1.0.2.ebuild | 39 |
16 files changed, 161 insertions, 121 deletions
diff --git a/dev-python/cleo/cleo-0.8.1-r1.ebuild b/dev-python/cleo/cleo-0.8.1-r1.ebuild index ca956d8d355e..52f5099c2d1a 100644 --- a/dev-python/cleo/cleo-0.8.1-r1.ebuild +++ b/dev-python/cleo/cleo-0.8.1-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" BDEPEND=" test? ( diff --git a/dev-python/clikit/clikit-0.6.2-r1.ebuild b/dev-python/clikit/clikit-0.6.2-r1.ebuild index 31918685893b..2f46c9277c4c 100644 --- a/dev-python/clikit/clikit-0.6.2-r1.ebuild +++ b/dev-python/clikit/clikit-0.6.2-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND=" dev-python/pastel[${PYTHON_USEDEP}] diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 0f247777d7c9..ceeda3d14ed1 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,4 +1,3 @@ -DIST fonttools-4.33.3.tar.gz 3526937 BLAKE2B 26539f76ac1919e572633695aca7a95f7f715ef18bd7d36de22e5491124ce36d3907f1e7b167d23685bca437f0bf7cf99159cd918ab2b1a450b716166d30fc37 SHA512 403e19cda46d67dea9f517e58c2e95ed04c53e6832919d85df9db4538431252e5ec4554e22410fd45cba634998de1576cf55d50f56de5ad497a108dcec4ed56a DIST fonttools-4.34.4.gh.tar.gz 3555013 BLAKE2B 0e4149321cea89fb9ec63a52a127f657421d2902f9d9ec72a918bd7230ce5c9117f876bb1fe0b6dfa986b774a5929f41ba8ff868462f240669f8b2067d4bcf39 SHA512 9c6ea7d6e9a9d74d2e705f7966853709ee834195f682bf595f932be2eab8fb728cf69b83680e5b95a308b40b1c17a7d1003efade9473d3f6d8e744ecfd1e2c62 DIST fonttools-4.35.0.gh.tar.gz 3560204 BLAKE2B d79bbd2e4cca6fc5dd9fd301d29c10e2ff07348be6b57f00744b23ed4b00bb5e10b2415b83477827c0c2dc65262f578c6b6dd90de1243d84d4e83e46537ea804 SHA512 d7919eae04faa61fd3ef8996349239db2a0d5dbdd743dd41a43d1664f0524c0554d314a6d5d0c9aa4468badc47018843b2810ea61996c1bb56906ecd3bb9a4bf DIST fonttools-4.36.0.gh.tar.gz 3567028 BLAKE2B 45c2481680a314e101ed3a14915585b503a15853937846a5ceadd15e524f053663e0c6876bb105b0f2593ac790029da48cbede8139be98809764e5a6e3e2b11a SHA512 48a07548f72e9818292c1552675fce94b8ecb876172cd7adb429426c1d987f54a6e0482b7847e48c3b9854821567023cce402c613488d9e17277eff8a615d3c2 diff --git a/dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch b/dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch deleted file mode 100644 index 9b5e9983ba3d..000000000000 --- a/dev-python/fonttools/files/fonttools-4.33.3-py3.11-tests.patch +++ /dev/null @@ -1,40 +0,0 @@ -https://github.com/fonttools/fonttools/pull/2655/commits/7787525b -From: Parag Nemade <pnemade@fedoraproject.org> -Date: Wed, 15 Jun 2022 18:24:04 +0530 -Subject: [PATCH] Fix tests for Python 3.11 ---- a/Tests/pens/cu2quPen_test.py -+++ b/Tests/pens/cu2quPen_test.py -@@ -12,6 +12,7 @@ - # See the License for the specific language governing permissions and - # limitations under the License. - -+import sys - import unittest - - from fontTools.pens.cu2quPen import Cu2QuPen, Cu2QuPointPen -@@ -257,8 +258,12 @@ def test_ignore_single_points(self): - quadpen.closePath() - - self.assertGreaterEqual(len(log.records), 1) -- self.assertIn("ignore_single_points is deprecated", -- log.records[0].args[0]) -+ if sys.version_info < (3, 11): -+ self.assertIn("ignore_single_points is deprecated", -+ log.records[0].args[0]) -+ else: -+ self.assertIn("ignore_single_points is deprecated", -+ log.records[0].msg) - - # single-point contours were ignored, so the pen commands are empty - self.assertFalse(pen.commands) ---- a/Tests/ufoLib/ufoLib_test.py -+++ b/Tests/ufoLib/ufoLib_test.py -@@ -35,7 +35,7 @@ def test_formatVersionTuple(ufo_path): - assert reader.formatVersionTuple == (3, 0) - assert reader.formatVersionTuple.major == 3 - assert reader.formatVersionTuple.minor == 0 -- assert str(reader.formatVersionTuple) == "3.0" -+ assert str(reader.formatVersionTuple) in ("3.0", "UFOFormatVersion.FORMAT_3_0") - - - def test_readMetaInfo_errors(ufo_path): diff --git a/dev-python/fonttools/fonttools-4.33.3.ebuild b/dev-python/fonttools/fonttools-4.33.3.ebuild deleted file mode 100644 index d52f5edfd54f..000000000000 --- a/dev-python/fonttools/fonttools-4.33.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE="https://github.com/fonttools/fonttools/" -SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/cython[${PYTHON_USEDEP}] - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - app-arch/zopfli - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-py3.11-tests.patch -) - -python_prepare_all() { - # When dev-python/pytest-shutil is installed, we get weird import errors. - # This is due to incomplete nesting in the Tests/ tree: - # - # Tests/feaLib/__init__.py - # Tests/ufoLib/__init__.py - # Tests/svgLib/path/__init__.py - # Tests/otlLib/__init__.py - # Tests/varLib/__init__.py - # - # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. - touch Tests/svgLib/__init__.py || die - - distutils-r1_python_prepare_all -} - -src_configure() { - export FONTTOOLS_WITH_CYTHON=1 -} - -src_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx distutils-r1_src_test -} - -python_test() { - epytest Tests fontTools || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/pastel/pastel-0.2.1-r1.ebuild b/dev-python/pastel/pastel-0.2.1-r1.ebuild index a407e9161e4a..37b7e21432a3 100644 --- a/dev-python/pastel/pastel-0.2.1-r1.ebuild +++ b/dev-python/pastel/pastel-0.2.1-r1.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 690a371baaee..c486683c9eb4 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1 +1,2 @@ DIST pikepdf-5.4.2.gh.tar.gz 2901145 BLAKE2B d7559901f59e5bd08ef660b88a4e9d50ac1bb64b397bcd56c1ed707ea7c0d9eca61d7ffe9e98361c01f3b71b640a9da1376c130fa5dff3324bbe2d64ce267347 SHA512 9afbd565ae82c65f743ffe7dc37509a15b03a1057bbdf4243ebacf4e0d315f9dead31fcd0f8b34023850a4d85aec302c229b1df0f045db4b1a8c171b58732b48 +DIST pikepdf-5.5.0.gh.tar.gz 2901781 BLAKE2B 8bc04627b781a65965c0679f2cccc8c7849d1f4e25008a50ee5965b4a4cb6c3c26f86d478a916228a37039a0fc062257cbf08db01e62ea877de208f7a64772e9 SHA512 61e802d52b3bce83ca1d0543a025e5390223bd856e1033a0df8ac63f457dc0b1473cf2c64965d857ceccde472d2d513fb335db6604c184cdcf2231129dfa5e38 diff --git a/dev-python/pikepdf/pikepdf-5.5.0.ebuild b/dev-python/pikepdf/pikepdf-5.5.0.ebuild new file mode 100644 index 000000000000..cea416014946 --- /dev/null +++ b/dev-python/pikepdf/pikepdf-5.5.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=app-text/qpdf-10.6.2:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecation[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5[${PYTHON_USEDEP}] + >=dev-python/pytest-6[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pylev/pylev-1.4.0-r1.ebuild b/dev-python/pylev/pylev-1.4.0-r1.ebuild index 51b54df332d3..a56c266f77b3 100644 --- a/dev-python/pylev/pylev-1.4.0-r1.ebuild +++ b/dev-python/pylev/pylev-1.4.0-r1.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" distutils_enable_tests unittest diff --git a/dev-python/pystache/Manifest b/dev-python/pystache/Manifest index f75fabc9293b..ba2e3a1cb113 100644 --- a/dev-python/pystache/Manifest +++ b/dev-python/pystache/Manifest @@ -1 +1 @@ -DIST pystache-0.6.0.tar.gz 78240 BLAKE2B b3ba14090f7969b7d3bd77f6e23bda8007fbf6f750e008585676f48bb1a4bfc520484b2205225477f2d2d625b0d6c1500d875685fa50f87c11b19589b0d45622 SHA512 802e12795c3ae08fbde37c9e266a60478d46d55a42e2fc339389b664edf3c5ebb2e34069546b820789ad48ed9921f4a2b89f82bb37e72e94846eec0a9ba1568c +DIST pystache-0.6.1.gh.tar.gz 279050 BLAKE2B 2c61ba260764aa4bf62039bfe1f844d34e26adc29af2f1e1d98619892bfabd3151aa1d34c69596389a68f0d84ce994ddf7114c091d42b497a17b300a5aff36cc SHA512 516d286f84d2c77650550365f6b219acb712376f0b7302fff2aba7dee4d64e3d3fc2d781782777dd37093f6debf52f9d2a40b6ed8b65aa5f7025ff762cb5efae diff --git a/dev-python/pystache/metadata.xml b/dev-python/pystache/metadata.xml index 58664092c0b2..12e0135af46a 100644 --- a/dev-python/pystache/metadata.xml +++ b/dev-python/pystache/metadata.xml @@ -5,6 +5,11 @@ <email>nerdboy@gentoo.org</email> <name>Steve Arnold</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pystache/pystache-0.6.0.ebuild b/dev-python/pystache/pystache-0.6.1.ebuild index ccc7859dea38..4e2bc3ed13d1 100644 --- a/dev-python/pystache/pystache-0.6.0.ebuild +++ b/dev-python/pystache/pystache-0.6.1.ebuild @@ -1,38 +1,42 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS="pyproject.toml" inherit distutils-r1 DESCRIPTION="Updated Python implementation of Mustache templating framework" -HOMEPAGE="https://github.com/PennyDreadfulMTG/pystache" +HOMEPAGE=" + https://github.com/PennyDreadfulMTG/pystache/ + https://pypi.org/project/pystache/ +" if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://github.com/PennyDreadfulMTG/pystache.git" EGIT_BRANCH="master" inherit git-r3 else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + SRC_URI=" + https://github.com/PennyDreadfulMTG/pystache/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " KEYWORDS="~amd64 ~arm ~arm64 ~x86" fi LICENSE="MIT" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" -BDEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) " -RDEPEND="${PYTHON_DEPS}" - -RESTRICT="!test? ( test )" - python_test() { - distutils_install_for_testing - pystache-test . || die "Test failed with ${EPYTHON}" + pystache-test || die "Test failed with ${EPYTHON}" } diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 8b41b5af4e3d..312f20e8a60c 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,2 +1,3 @@ DIST selenium-3.141.0.gh.tar.gz 155705874 BLAKE2B f75eec80e6caa86744092020abaeef56defcfac8278dd3fd605c29d6860c1c046956c7599164ba1b4682f20dfa997f5a942d83f7ad707b052ad3ca98c0800527 SHA512 add14d426c5b929901cd71104460c7ceaacf46374b46898254dc2e2602f4a9a370199da603e3f35375c0f297d6fc2fda00c9ce2ede9d5b893b072e0487883df2 DIST selenium-3.141.0.tar.gz 854669 BLAKE2B 621f4ab03bf85718b50099fdf10cdfadaf326bc7d9c9f1676a2a20e3ad23bede7884d8017b98bc6ebc314c6a4221c7668628d2d1888f36350c95eed1d82acee7 SHA512 3d2afbe9e96f88e9c055a89786b5090af387d3feba4598577b70fd3e0b20c2c09c4b25af920c654f52ec7e34f23181e6d278ac05f1a1f960d2d371ce7a6b82d8 +DIST selenium-4.4.3-py3-none-any.whl 985964 BLAKE2B b89c8d8c8a59c6fc8cc6aae84456e6e30f651148880f54bac84f4d82a2281d4ca1841e872fed80746c75fc795b8154c925386245f36940c9a54b1ac746d984dc SHA512 14142389a19cd311be229555b06c7dec5a11f852332775def10b6ffd956d07d0394f7af1463fc18116b0e4df055168158a5c2cc6794af760f16b6ae6ebb88aa4 diff --git a/dev-python/selenium/selenium-4.4.3.ebuild b/dev-python/selenium/selenium-4.4.3.ebuild new file mode 100644 index 000000000000..3abfc750eb85 --- /dev/null +++ b/dev-python/selenium/selenium-4.4.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# GitHub releases don't include generated files, and on PyPi we do have them +# but only in a wheel format. + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python language binding for Selenium Remote Control" +HOMEPAGE="https://www.seleniumhq.org" +SRC_URI=" + https://files.pythonhosted.org/packages/py3/${P::1}/${PN}/${P}-py3-none-any.whl +" +S=${WORKDIR} + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] +" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/xdoctest/Manifest b/dev-python/xdoctest/Manifest index 15fcae8bf6f0..0e5ac09acc6f 100644 --- a/dev-python/xdoctest/Manifest +++ b/dev-python/xdoctest/Manifest @@ -1,2 +1,3 @@ DIST xdoctest-1.0.0.gh.tar.gz 193294 BLAKE2B 95725757faafd2a15652557e07753ad8c4a8ee57b545169ba29b6e8f0ef5c7a021eff3c092cfe123da91311db98ef7700b29d52b1418a8160869402fb4ecfcab SHA512 8c77fbd8fcd1a3030b33651d35567dd4506ece3aa2c6155223d5cdea6e16510b59bcbd5b9ebb6dc13e20af92c5d07dc205485566b836874e835b18a53cbe7355 DIST xdoctest-1.0.1.gh.tar.gz 200921 BLAKE2B 29d4947e8a49b11721c2ab8500e12334c9937d892519154267ad1ff3f98e3a35767eb770ed40d34c253e282e09e90de2567b92fd7b3167f7d8a58dcd762bc43d SHA512 c853f0b673ebc8b1f6fc6305a8688bffdf33cabab734a53f4ed1668d4f94d0431dd6e867b30a1c4588a86f3552e9b94ceaf540c3ed8e66f80bd9ce45ddbae690 +DIST xdoctest-1.0.2.gh.tar.gz 204010 BLAKE2B a11d3bee9f4bb32f3eea34630a359695290f72792cae57c8bdf789164068b40fddf637fb5676bc0a63dcd319394791872060499de031e063d0122e1888b2ccc9 SHA512 dede66113cf474e160da3b389d377fcb7e56d2db29c957d6ff279e4d52098395a1085d546bd9d7a739b72da7986d90ad55d264df54579c5257e47bf23551c714 diff --git a/dev-python/xdoctest/xdoctest-1.0.2.ebuild b/dev-python/xdoctest/xdoctest-1.0.2.ebuild new file mode 100644 index 000000000000..720312c4496b --- /dev/null +++ b/dev-python/xdoctest/xdoctest-1.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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/v${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 pytest +#distutils_enable_sphinx docs/source \ +# dev-python/autoapi \ +# dev-python/sphinx_rtd_theme + +python_test() { + epytest --pyargs tests xdoctest +} |
