Compare commits
No commits in common. "d28c2358cc51b825c9bf6fedaacf610ea82cd72c" and "8d346e68ec1ff32644fc3e1d138281bd5cce6abf" have entirely different histories.
d28c2358cc
...
8d346e68ec
@ -1,37 +0,0 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517="setuptools"
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library."
|
|
||||||
HOMEPAGE="https://github.com/ionelmc/python-aspectlib"
|
|
||||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/fields[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="
|
|
||||||
doc? (
|
|
||||||
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/process-tests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tornado[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
distutils_enable_sphinx docs
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/Fix-tests-for-python3_10-and-above.patch"
|
|
||||||
"${FILESDIR}/Remove-tornado-6-test-constraint.patch"
|
|
||||||
)
|
|
50
dev-python/aspectlib/aspectlib-1.5.2.ebuild
Normal file
50
dev-python/aspectlib/aspectlib-1.5.2.ebuild
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library."
|
||||||
|
HOMEPAGE="https://github.com/ionelmc/python-aspectlib"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/fields[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="
|
||||||
|
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/process-tests[${PYTHON_USEDEP}]
|
||||||
|
www-servers/tornado[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/sphinx
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/Fix-tests-for-python3_10.patch"
|
||||||
|
"${FILESDIR}/Remove-tornado-6-test-constraint.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
sphinx-build -b html docs docs/_build/html || die
|
||||||
|
fi
|
||||||
|
sphinx-build -b man docs docs/_build/man || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||||
|
doman docs/_build/man/*
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -6,7 +6,7 @@ index b85f1dd..b7d0f70 100644
|
|||||||
from .utils import PY2
|
from .utils import PY2
|
||||||
from .utils import PY3
|
from .utils import PY3
|
||||||
from .utils import PY37plus
|
from .utils import PY37plus
|
||||||
+from .utils import PY310plus
|
+from .utils import PY310
|
||||||
from .utils import Sentinel
|
from .utils import Sentinel
|
||||||
from .utils import basestring
|
from .utils import basestring
|
||||||
from .utils import force_bind
|
from .utils import force_bind
|
||||||
@ -18,7 +18,7 @@ index 9e0837e..b08f2d6 100644
|
|||||||
|
|
||||||
PY3 = sys.version_info[0] == 3
|
PY3 = sys.version_info[0] == 3
|
||||||
PY37plus = PY3 and sys.version_info[1] >= 7
|
PY37plus = PY3 and sys.version_info[1] >= 7
|
||||||
+PY310plus = PY3 and sys.version_info[1] >= 10
|
+PY310 = PY3 and sys.version_info[1] == 10
|
||||||
PY2 = sys.version_info[0] == 2
|
PY2 = sys.version_info[0] == 2
|
||||||
PY26 = PY2 and sys.version_info[1] == 6
|
PY26 = PY2 and sys.version_info[1] == 6
|
||||||
PYPY = platform.python_implementation() == 'PyPy'
|
PYPY = platform.python_implementation() == 'PyPy'
|
||||||
@ -30,7 +30,7 @@ index 05e2c25..37fe8e8 100644
|
|||||||
from test_pkg1.test_pkg2 import test_mod
|
from test_pkg1.test_pkg2 import test_mod
|
||||||
|
|
||||||
from aspectlib import PY2
|
from aspectlib import PY2
|
||||||
+from aspectlib import PY310plus
|
+from aspectlib import PY310
|
||||||
from aspectlib.test import OrderedDict
|
from aspectlib.test import OrderedDict
|
||||||
from aspectlib.test import Story
|
from aspectlib.test import Story
|
||||||
from aspectlib.test import StoryResultWrapper
|
from aspectlib.test import StoryResultWrapper
|
||||||
@ -38,7 +38,7 @@ index 05e2c25..37fe8e8 100644
|
|||||||
(('stuff_1', 'mix', "'a', 'b'", ''), _Returns("(1, 2, 'a', 'b')")),
|
(('stuff_1', 'mix', "'a', 'b'", ''), _Returns("(1, 2, 'a', 'b')")),
|
||||||
(('stuff_1', 'meth', "123", ''), _Raises(repr_ex(TypeError(
|
(('stuff_1', 'meth', "123", ''), _Raises(repr_ex(TypeError(
|
||||||
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
||||||
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310plus else
|
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310 else
|
||||||
'meth() takes 1 positional argument but 2 were given'
|
'meth() takes 1 positional argument but 2 were given'
|
||||||
)))),
|
)))),
|
||||||
((None, 'test_pkg1.test_pkg2.test_mod.Stuff', "0, 1", ''), _Binds('stuff_2')),
|
((None, 'test_pkg1.test_pkg2.test_mod.Stuff', "0, 1", ''), _Binds('stuff_2')),
|
||||||
@ -46,7 +46,7 @@ index 05e2c25..37fe8e8 100644
|
|||||||
(('stuff_2', 'mix', "3, 4", ''), _Returns("(0, 1, 3, 4)")),
|
(('stuff_2', 'mix', "3, 4", ''), _Returns("(0, 1, 3, 4)")),
|
||||||
(('stuff_2', 'meth', "123", ''), _Raises(repr_ex(TypeError(
|
(('stuff_2', 'meth', "123", ''), _Raises(repr_ex(TypeError(
|
||||||
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
||||||
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310plus else
|
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310 else
|
||||||
'meth() takes 1 positional argument but 2 were given'
|
'meth() takes 1 positional argument but 2 were given'
|
||||||
))))
|
))))
|
||||||
]))
|
]))
|
||||||
@ -54,7 +54,7 @@ index 05e2c25..37fe8e8 100644
|
|||||||
(('stuff_1', 'meth', '', ''), _Returns('None')),
|
(('stuff_1', 'meth', '', ''), _Returns('None')),
|
||||||
(('stuff_1', 'meth', '123', ''), _Raises(repr_ex(TypeError(
|
(('stuff_1', 'meth', '123', ''), _Raises(repr_ex(TypeError(
|
||||||
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
||||||
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310plus else
|
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310 else
|
||||||
'meth() takes 1 positional argument but 2 were given'
|
'meth() takes 1 positional argument but 2 were given'
|
||||||
)))),
|
)))),
|
||||||
((None, 'test_pkg1.test_pkg2.test_mod.Stuff', '0, 1', ''), _Binds("stuff_2")),
|
((None, 'test_pkg1.test_pkg2.test_mod.Stuff', '0, 1', ''), _Binds("stuff_2")),
|
||||||
@ -62,7 +62,7 @@ index 05e2c25..37fe8e8 100644
|
|||||||
(('stuff_2', 'mix', '3, 4', ''), _Returns('(0, 1, 3, 4)')),
|
(('stuff_2', 'mix', '3, 4', ''), _Returns('(0, 1, 3, 4)')),
|
||||||
(('stuff_2', 'meth', '123', ''), _Raises(repr_ex(TypeError(
|
(('stuff_2', 'meth', '123', ''), _Raises(repr_ex(TypeError(
|
||||||
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
'meth() takes exactly 1 argument (2 given)' if PY2 else
|
||||||
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310plus else
|
+ 'Stuff.meth() takes 1 positional argument but 2 were given' if PY310 else
|
||||||
'meth() takes 1 positional argument but 2 were given'
|
'meth() takes 1 positional argument but 2 were given'
|
||||||
))))
|
))))
|
||||||
]))
|
]))
|
1
dev-python/pyaaf2/Manifest
Normal file
1
dev-python/pyaaf2/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pyaaf2-1.4.0.tar.gz 1106445 BLAKE2B 05844b001d942b749205d1b1834725d92d44689d753c00ed44dacca625646224389f7f27ec221dc19fc7498ac4408b38c5c8b086439ae990a0b98e9cf409d521 SHA512 ee7b91cff50cced1b64ac8afa73a9dcc6a4bed4562fa2ab574a3316ad25241077fa761536afda13d71e836c191fe63cd3759156688dab99397b2582c6f5ac963
|
11
dev-python/pyaaf2/metadata.xml
Normal file
11
dev-python/pyaaf2/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">markreidvfx/pyaaf2</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
32
dev-python/pyaaf2/pyaaf2-1.4.0.ebuild
Normal file
32
dev-python/pyaaf2/pyaaf2-1.4.0.ebuild
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=(python3_{8..10})
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Read and write Advanced Authoring Format (AAF) files"
|
||||||
|
HOMEPAGE="http://pyaaf.readthedocs.io/"
|
||||||
|
SRC_URI="https://github.com/markreidvfx/pyaaf2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests unittest
|
||||||
|
distutils_enable_sphinx docs/source
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# Tests import from tests/common.py which is breaks unless the dir is added to PYTHONPATH
|
||||||
|
PYTHONPATH="${S}/tests"
|
||||||
|
eunittest
|
||||||
|
}
|
1
dev-python/pygal/Manifest
Normal file
1
dev-python/pygal/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pygal-3.0.0.dev1.tar.gz 3586092 BLAKE2B 4b266df0b3cbc21aae5270578383d58c2e63928f151ea81e760a036044027d64a6f2f2ccbc964d5918e1134ee07b9e4d175bdcbf59d84c09f8f8e9b35f707a7f SHA512 d4ddeb7533513ff605d331b6b7c3ebc10c02ccacbab509c77e3c594b0417a82e7744e12f8cb416d9232066933f432a616c84f0cd9e246543fea447345cd364a7
|
11
dev-python/pygal/metadata.xml
Normal file
11
dev-python/pygal/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">Kozea/pygal</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
70
dev-python/pygal/pygal-3.0.0_pre1.ebuild
Normal file
70
dev-python/pygal/pygal-3.0.0_pre1.ebuild
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P="${PN}-${PV/_pre/.dev}"
|
||||||
|
|
||||||
|
DESCRIPTION="PYthon svg GrAph plotting Library "
|
||||||
|
# http://pygal.org/ is dead as of 20210519, therefore use the next best thing
|
||||||
|
HOMEPAGE="https://github.com/Kozea/pygal"
|
||||||
|
SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="man test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
# 30.6.2021: 3.10 blocked by cairosvg, pygal_{sphinx_directives,maps_{ch,fr,world}}, pytest-{flake8,isort}
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
media-gfx/cairosvg[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
man? (
|
||||||
|
dev-python/pygal_sphinx_directives
|
||||||
|
dev-python/sphinx_rtd_theme
|
||||||
|
)
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/flask[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygal_maps_ch[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygal_maps_fr[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygal_maps_world[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-flake8[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-isort[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyquery[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
man? ( dev-python/sphinx )
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
distutils_enable_sphinx docs dev-python/pygal_sphinx_directives dev-python/sphinx_rtd_theme
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
sed -i -e '/pytest-runner/d' setup.py || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
use man && emake -C docs -j1 man
|
||||||
|
sphinx_compile_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use man && doman docs/_build/man/*
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
1
dev-python/pygal_maps_ch/Manifest
Normal file
1
dev-python/pygal_maps_ch/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pygal_maps_ch-1.0.1.tar.gz 57742 BLAKE2B 1c82f26e4466c54f3954341ea4b3b6ae04e5e6b2d6c4d01ce06a5eb5b4a1d00b887263d06bddac8e357663f8d22b36460ed4f99d164e8843a0a3ca05556421ce SHA512 1fb8a2db13742e6c2660b9be5cbdc26c8d30e9baa54561742b732e6c62d66f52ee0f30271f3205f353cb048822312e855fea8fdef049a1cea46f59e6435f62d5
|
11
dev-python/pygal_maps_ch/metadata.xml
Normal file
11
dev-python/pygal_maps_ch/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">pygal_maps_ch</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
21
dev-python/pygal_maps_ch/pygal_maps_ch-1.0.1.ebuild
Normal file
21
dev-python/pygal_maps_ch/pygal_maps_ch-1.0.1.ebuild
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Swiss canton map for pygal"
|
||||||
|
# http://pygal.org/ is dead as of 20210519, therefore use the next best thing
|
||||||
|
HOMEPAGE="https://pypi.org/project/pygal_maps_ch/"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
# There are no tests
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# 1.7.2021: 3.10 blocked by pygal
|
||||||
|
RDEPEND="dev-python/pygal[${PYTHON_USEDEP}]"
|
1
dev-python/pygal_maps_fr/Manifest
Normal file
1
dev-python/pygal_maps_fr/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pygal_maps_fr-1.1.0.tar.gz 410058 BLAKE2B b5cb696ae10c06bd79eb5d15d29e8309b8d6cb8be476af37d5eccfded321db75a3f30facc11f22f21e860399df7393693e83060d988087b7d65654e6512c4a45 SHA512 897b3f1a4a7b63c1d7e668d94c9c073f45d336425c0367e23ead53e0cf667dda4984d3d8981a56e4228fcbc65b191a2f82f07a49e05f1135d0efc80770ede88e
|
11
dev-python/pygal_maps_fr/metadata.xml
Normal file
11
dev-python/pygal_maps_fr/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">pygal_maps_fr</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
21
dev-python/pygal_maps_fr/pygal_maps_fr-1.1.0.ebuild
Normal file
21
dev-python/pygal_maps_fr/pygal_maps_fr-1.1.0.ebuild
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="French maps for pygal"
|
||||||
|
# http://pygal.org/ is dead as of 20210519, therefore use the next best thing
|
||||||
|
HOMEPAGE="https://pypi.org/project/pygal_maps_fr/"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
# There are no tests
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# 1.7.2021: 3.10 blocked by pygal
|
||||||
|
RDEPEND="dev-python/pygal[${PYTHON_USEDEP}]"
|
1
dev-python/pygal_maps_world/Manifest
Normal file
1
dev-python/pygal_maps_world/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pygal_maps_world-1.0.2.tar.gz 270781 BLAKE2B 820881ebf16dc76bb33209155fcbf8b42fa5cba5377f8a480e72fc217cb98acb749884894598adb77963abc4159ef6439da14f92d5987687779032c24d5e0852 SHA512 382c0bdffe9df6c0c4704c9eb87e142a30c4f6b8844d53e9f12a93e92214100d609d3b023379761607c9c3c1cb760230fe284b9b8b3d8f2f91f63dd306b97f53
|
11
dev-python/pygal_maps_world/metadata.xml
Normal file
11
dev-python/pygal_maps_world/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">pygal_maps_world</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
21
dev-python/pygal_maps_world/pygal_maps_world-1.0.2.ebuild
Normal file
21
dev-python/pygal_maps_world/pygal_maps_world-1.0.2.ebuild
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="World maps for pygal"
|
||||||
|
# http://pygal.org/ is dead as of 20210519, therefore use the next best thing
|
||||||
|
HOMEPAGE="https://pypi.org/project/pygal_maps_world/"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
# There are no tests
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# 1.7.2021: 3.10 blocked by pygal
|
||||||
|
RDEPEND="dev-python/pygal[${PYTHON_USEDEP}]"
|
1
dev-python/pygal_sphinx_directives/Manifest
Normal file
1
dev-python/pygal_sphinx_directives/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pygal_sphinx_directives-1.0.1.tar.gz 1270 BLAKE2B 48d54fdca26dfad7d4c33d77682a3aeffd8f0c2a707fe8a38a8437dda0e2da9778a40dd23dfc268fe6e8aded40ee6652eb7e9d54381c82452f971f6924041e13 SHA512 b7c7730433beb16f6731cac712f036137e6ad304946f6727196b50807e05658950e3b02e93cd8d10ffa08320258ae2f21c120621b6dd00ad5eef88c5ffaffb9e
|
11
dev-python/pygal_sphinx_directives/metadata.xml
Normal file
11
dev-python/pygal_sphinx_directives/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">pygal_sphinx_directives</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Pygal sphinx integration"
|
||||||
|
HOMEPAGE="https://pypi.org/project/pygal_sphinx_directives/"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
# There are no tests
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# 1.7.2021: 3.10 blocked by pygal
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/pygal[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||||
|
"
|
@ -1,10 +1,9 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
# Copyright 2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="Python package providing assets from pygal.js"
|
DESCRIPTION="Python package providing assets from pygal.js"
|
1
dev-python/pytest-black/Manifest
Normal file
1
dev-python/pytest-black/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST pytest-black-0.3.12.tar.gz 6898 BLAKE2B d37326527e9b3c4f755a99c71f254150b9eadc48e0dc4863af518ccf40dc97a60354402442dd979ead546a72a25398ae4d380fde5ca96afda76ae07415de95f0 SHA512 3bf6cc27a872f351ad1b49650d5b4758d14fea65627008204d2f45557c61e597def6aa6eb6f61fb439ebf783b4df997a3c4320ccbb65ee99d0dd9eaa6fde05bd
|
@ -0,0 +1,49 @@
|
|||||||
|
From 475cf71aa9de3ededa972ffb36fb47ad79278531 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ben Greiner <code@bnavigator.de>
|
||||||
|
Date: Mon, 15 Mar 2021 11:42:27 +0100
|
||||||
|
Subject: [PATCH] fix pytest.tmpdir.makefile call
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/test_black.py | 12 ++++++------
|
||||||
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/test_black.py b/tests/test_black.py
|
||||||
|
index 0405169..a7a6026 100644
|
||||||
|
--- a/tests/test_black.py
|
||||||
|
+++ b/tests/test_black.py
|
||||||
|
@@ -72,8 +72,8 @@ def test_exclude(testdir):
|
||||||
|
"""Assert test is skipped if path is excluded even if also included
|
||||||
|
"""
|
||||||
|
testdir.makefile(
|
||||||
|
- "pyproject.toml",
|
||||||
|
- """
|
||||||
|
+ ".toml",
|
||||||
|
+ pyproject = """
|
||||||
|
[tool.black]
|
||||||
|
include = 'test_exclude.py'
|
||||||
|
exclude = '.*'
|
||||||
|
@@ -100,8 +100,8 @@ def test_exclude_folder(testdir):
|
||||||
|
"""Assert test is skipped for files in a folder
|
||||||
|
"""
|
||||||
|
testdir.makefile(
|
||||||
|
- "pyproject.toml",
|
||||||
|
- """
|
||||||
|
+ ".toml",
|
||||||
|
+ pyproject = """
|
||||||
|
[tool.black]
|
||||||
|
exclude = '''
|
||||||
|
(
|
||||||
|
@@ -137,8 +137,8 @@ def test_include(testdir):
|
||||||
|
"""Assert test is not skipped if path is included but not excluded
|
||||||
|
"""
|
||||||
|
testdir.makefile(
|
||||||
|
- "pyproject.toml",
|
||||||
|
- """
|
||||||
|
+ ".toml",
|
||||||
|
+ pyproject = """
|
||||||
|
[tool.black]
|
||||||
|
include = 'test_include'
|
||||||
|
""",
|
||||||
|
--
|
||||||
|
2.26.3
|
||||||
|
|
11
dev-python/pytest-black/metadata.xml
Normal file
11
dev-python/pytest-black/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>parona@protonmail.com</email>
|
||||||
|
<name>Alfred Wingate</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">shopkeep/pytest-black</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
32
dev-python/pytest-black/pytest-black-0.3.12.ebuild
Normal file
32
dev-python/pytest-black/pytest-black-0.3.12.ebuild
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="pytest plugin to enable formatting checks with black "
|
||||||
|
HOMEPAGE="https://github.com/shopkeep/pytest-black"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/black[${PYTHON_USEDEP}]
|
||||||
|
dev-python/toml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="test? ( ${RDEPEND} )"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
DOCS=( "README.md" )
|
||||||
|
|
||||||
|
# Fix tests for pytest6
|
||||||
|
# https://github.com/shopkeep/pytest-black/pull/53
|
||||||
|
PATCHES=( "${FILESDIR}/fix-pytest.tmpdir.makefile-call.patch" )
|
@ -8,4 +8,7 @@
|
|||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">ionelmc/sphinx-py3doc-enhanced-theme</remote-id>
|
<remote-id type="github">ionelmc/sphinx-py3doc-enhanced-theme</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
<longdescription>
|
||||||
|
A theme based on the theme of https://docs.python.org/3/ with some responsive enhancements.
|
||||||
|
</longdescription>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
# Copyright 2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="A theme based on the theme of https://docs.python.org/3/."
|
DESCRIPTION="A theme based on the theme of https://docs.python.org/3/."
|
||||||
|
Loading…
Reference in New Issue
Block a user