From 20f45075daaaca9a1322a7592863e43a02f13636 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 17 May 2020 04:18:33 +0200 Subject: [PATCH 01/11] dev-python/black: readd python3.8 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/black/black-19.10_beta0-r2.ebuild | 59 ++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 dev-python/black/black-19.10_beta0-r2.ebuild diff --git a/dev-python/black/black-19.10_beta0-r2.ebuild b/dev-python/black/black-19.10_beta0-r2.ebuild new file mode 100644 index 0000000000..6b38d0d1db --- /dev/null +++ b/dev-python/black/black-19.10_beta0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PV="19.10b0" + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE=" + https://github.com/psf/black + https://pypi.org/project/black +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + test? ( + >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/appdirs-1.4[${PYTHON_USEDEP}] + >=dev-python/attrs-18.1[${PYTHON_USEDEP}] + >=dev-python/click-6.5[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.6[${PYTHON_USEDEP}] + >=dev-python/regex-2019.11.1[${PYTHON_USEDEP}] + >=dev-python/toml-0.9.4[${PYTHON_USEDEP}] + >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6) +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +python_prepare_all() { + # cannot get_version() for some reason so we set it here manually + sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \ + -e '/for sp in "abcfr":/d' \ + -e '/version.split(sp)/d' \ + docs/conf.py || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest +# docs fail to build:: module 'black' has no attribute 'is_python36' +# 'release': return_codes_re.sub('', self.config.release), +#distutils_enable_sphinx docs dev-python/recommonmark From 59b543715e5e8d19d935e74f927ab42360ef9ae7 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 17 May 2020 10:35:38 +0200 Subject: [PATCH 02/11] dev-python/websockets: older version Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/websockets/Manifest | 1 + dev-python/websockets/websockets-7.0.ebuild | 31 +++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 dev-python/websockets/websockets-7.0.ebuild diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index a83e73473a..5c779d1d4e 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1 +1,2 @@ +DIST websockets-7.0.tar.gz 122848 BLAKE2B 7c201831c563a8ae036f9310533a3627fca9e9f91ba77cac27a62852336d4c2a79bd07b3186e10e0c797520a73750201e3ca70358fe5a0304b35e9f6b637196c SHA512 08dd310d8f946522f60ba302f3246f81e283d11f308f658a3c3a3c597281a31b1376e5d16d900187d148b0c1ec1250cd730ccb26f6b753dd86ca5682a08af9a9 DIST websockets-8.1.tar.gz 156472 BLAKE2B 6cb5eec8276f7ef7172048eba6157560f42cec28acacc1a0a2f426ea1cab9a04029ebb1f8285b1aa2862c30aac8f2af81ef85d4dba8e53e267b665b718e01d5a SHA512 d245702574cf513da54bfc0ca10768558cd4e5017ecf8cb647f4b9176561192a3ace64edfc5c6f735664bf1b6136aa0bb9828114478f92d2c051e3109a218c12 diff --git a/dev-python/websockets/websockets-7.0.ebuild b/dev-python/websockets/websockets-7.0.ebuild new file mode 100644 index 0000000000..ee9fcd1b04 --- /dev/null +++ b/dev-python/websockets/websockets-7.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="An implementation of the WebSocket Protocol (RFC 6455 & 7692)" +HOMEPAGE=" + https://github.com/aaugustin/websockets + https://pypi.org/project/websockets +" +SRC_URI="https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +python_prepare_all() { + # these tests fail, probably because of + # a permission error (no internet) + rm tests/test_client_server.py || die + rm tests/test_protocol.py || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests nose +distutils_enable_sphinx docs dev-python/sphinx-autodoc-typehints dev-python/sphinxcontrib-spelling dev-python/sphinxcontrib-trio From 6f07b7b3614912ed90c77bc88e1bb5080741e038 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 17 May 2020 10:48:42 +0200 Subject: [PATCH 03/11] dev-python/sanic: new version Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/sanic/Manifest | 1 + dev-python/sanic/sanic-20.3.0.ebuild | 53 ++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-python/sanic/sanic-20.3.0.ebuild diff --git a/dev-python/sanic/Manifest b/dev-python/sanic/Manifest index c4f1f4dd7d..30b9cc7583 100644 --- a/dev-python/sanic/Manifest +++ b/dev-python/sanic/Manifest @@ -1 +1,2 @@ DIST sanic-19.12.2.tar.gz 195755 BLAKE2B 0d903b06403f28a901d21bfc685219064d0ec2b11576baf714aa3250cc3474928da03c34f0a5a25bf92191242b0a41f76d41aabe92a805bea1801e569c892e9a SHA512 93e416ceea5577db4c443dd6dd03cc5e990d4f987d49821b70d5602421d38401e155e2aad166c88ec57fc5361350c641f087b461a6d92acde34455db81429c5c +DIST sanic-20.3.0.tar.gz 200120 BLAKE2B 14c648f6607b924ee8c19a481b027866a1e24b13249129d3e3fd2ebaf48243ec30d800cd0f62f3f361ae265ef4139676b5aaa4d5481e57459360df11d9fb5c8d SHA512 05615b2b0a2f3b03b2cdf6cff9d2df6f95a54c12be98b54674a2060104327e9a98db55b5e9fbc608f4e624abbb68e7b2f169df26c8197669aad05a4e15ac3ee7 diff --git a/dev-python/sanic/sanic-20.3.0.ebuild b/dev-python/sanic/sanic-20.3.0.ebuild new file mode 100644 index 0000000000..acd563f8c2 --- /dev/null +++ b/dev-python/sanic/sanic-20.3.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="Async Python 3.6+ web server/framework | Build fast. Run fast." +HOMEPAGE=" + https://pypi.python.org/pypi/sanic + https://github.com/huge-success/sanic +" +SRC_URI="https://github.com/huge-success/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/httpx-0.11.1[${PYTHON_USEDEP}] + >=dev-python/httptools-0.0.10[${PYTHON_USEDEP}] + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + =dev-python/ujson-1.35[${PYTHON_USEDEP}] + >=dev-python/uvloop-0.5.3[${PYTHON_USEDEP}] + >=dev-python/websockets-7.0[${PYTHON_USEDEP}] + =dev-python/sphinx-2.1.2" \ + ">=dev-python/sphinx_rtd_theme-0.4.3" \ + ">=dev-python/recommonmark-0.5.0" \ + www-servers/gunicorn From 47e8488ef573550a8a70740a45356b7de8cd80a5 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 18 May 2020 01:48:49 +0200 Subject: [PATCH 04/11] dev-python/pytest-travis-fold: pypy3 added Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- .../pytest-travis-fold-1.3.0-r1.ebuild | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-python/pytest-travis-fold/pytest-travis-fold-1.3.0-r1.ebuild diff --git a/dev-python/pytest-travis-fold/pytest-travis-fold-1.3.0-r1.ebuild b/dev-python/pytest-travis-fold/pytest-travis-fold-1.3.0-r1.ebuild new file mode 100644 index 0000000000..bdad14845c --- /dev/null +++ b/dev-python/pytest-travis-fold/pytest-travis-fold-1.3.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( pypy3 python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin that folds captured output sections in Travis CI build log" +HOMEPAGE=" + https://github.com/abusalimov/pytest-travis-fold + https://pypi.org/project/pytest-travis-fold +" +SRC_URI="https://github.com/abusalimov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}] + Date: Mon, 18 May 2020 02:00:28 +0200 Subject: [PATCH 05/11] dev-python/atomiclong: pypy3 added Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- .../atomiclong/atomiclong-0.1.1-r1.ebuild | 20 +++++++++++++++++++ dev-python/atomiclong/atomiclong-9999.ebuild | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild diff --git a/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild b/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild new file mode 100644 index 0000000000..475c98dcfc --- /dev/null +++ b/dev-python/atomiclong/atomiclong-0.1.1-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( pypy3 python3_{6,7} ) + +inherit distutils-r1 + +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +DESCRIPTION="An AtomicLong type using CFFI." +HOMEPAGE="https://github.com/dreid/atomiclong" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/atomiclong/atomiclong-9999.ebuild b/dev-python/atomiclong/atomiclong-9999.ebuild index 87c8abf50e..c225edae4d 100644 --- a/dev-python/atomiclong/atomiclong-9999.ebuild +++ b/dev-python/atomiclong/atomiclong-9999.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( pypy3 python3_{6,7} ) inherit distutils-r1 From f0ba6a485e73832f951a847094bf308ab785fc1d Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 18 May 2020 02:54:14 +0200 Subject: [PATCH 06/11] dev-python/pytest-instafail: pypy3 added Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- .../pytest-instafail-0.4.1_p0-r1.ebuild | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild diff --git a/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild b/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild new file mode 100644 index 0000000000..b332b8ad11 --- /dev/null +++ b/dev-python/pytest-instafail/pytest-instafail-0.4.1_p0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PV=${PV/_p/.post} + +DESCRIPTION="Plugin for pytest that shows failures and errors instantly" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-instafail + https://pypi.org/project/pytest-instafail +" +SRC_URI="https://github.com/pytest-dev/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=" + >=dev-python/pytest-2.9[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" +S="${WORKDIR}/${PN}-${MY_PV}" + +python_test() { + distutils_install_for_testing + pytest -vv || die "Testsuite failed under ${EPYTHON}" +} From 5a165a8ebd3ca9d559e810fab1a91f044c6cf698 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 18 May 2020 17:40:30 +0200 Subject: [PATCH 07/11] dev-python/pytest-cython: pypy3 and python3.8 also restrict tests Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- .../pytest-cython-0.1.0-r2.ebuild | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild diff --git a/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild new file mode 100644 index 0000000000..01c69d2ace --- /dev/null +++ b/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Plugin for testing Cython extension modules" +HOMEPAGE="https://github.com/lgpage/pytest-cython" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64" +IUSE="test" + +#IDK how to run this: python tests/example-project/setup.py clean build_ext --inplace --use-cython +RESTRICT="test" +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} +" + +src_prepare() { + sed -i 's|\[pytest\]|\[tool:pytest\]|' setup.cfg || die + default +} + +distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme From 4c482d2e2473bded8e7f6f2d4846b840b5e7f946 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 18 May 2020 17:51:44 +0200 Subject: [PATCH 08/11] dev-python/trueskill: python3.8 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/trueskill/Manifest | 2 +- ...kill-0.4.5.ebuild => trueskill-0.4.5_p20191014.ebuild} | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) rename dev-python/trueskill/{trueskill-0.4.5.ebuild => trueskill-0.4.5_p20191014.ebuild} (76%) diff --git a/dev-python/trueskill/Manifest b/dev-python/trueskill/Manifest index 5c56ee0668..e23d762151 100644 --- a/dev-python/trueskill/Manifest +++ b/dev-python/trueskill/Manifest @@ -1 +1 @@ -DIST trueskill-0.4.5.tar.gz 30714 BLAKE2B 86301c80cca29c11dd58bd01fb2f2d15ebacab6e768038ac7cce4728b642de0d3f6125189079df36919360909967d31a37300970e0db18acfaba573450fa501a SHA512 c94f7ba2d4aed615e5591a3f1f263d0368962b5a1eeb5e7379a59ed6faeb7af2587438617f2917a0f94dc9fd5ea290932947dcc8925f685a055f131859d2eca6 +DIST trueskill-0.4.5_p20191014.tar.gz 30722 BLAKE2B b93162702f79cbb727f853132568ab02bbb844735c2dc3ebc77ab71c8ff77e16109672e5d30fedca951c6893df18f81f517415ecf707c7e25f6cacc96222a182 SHA512 9892eae7d581a3bbfe33ff0fdf274c177f0641db099a0ad6a630a27f6f2d94d39d65b5a7d47c18ab91b4958d161f00c8639c40f56388714cb71750949dd4bf12 diff --git a/dev-python/trueskill/trueskill-0.4.5.ebuild b/dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild similarity index 76% rename from dev-python/trueskill/trueskill-0.4.5.ebuild rename to dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild index b0e5eabfbc..c5c3ab349f 100644 --- a/dev-python/trueskill/trueskill-0.4.5.ebuild +++ b/dev-python/trueskill/trueskill-0.4.5_p20191014.ebuild @@ -3,17 +3,19 @@ EAPI="7" -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 +COMMIT="91c29b1ab6cd86d6d68fc983fd7ceba3a88ad544" + DESCRIPTION="Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms" HOMEPAGE=" https://trueskill.org https://github.com/sublee/trueskill https://pypi.org/project/trueskill " -SRC_URI="https://github.com/sublee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/sublee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="BSD" @@ -26,9 +28,9 @@ DEPEND=" test? ( >=dev-python/almost-0.1.5[${PYTHON_USEDEP}] >=dev-python/mpmath-0.17[${PYTHON_USEDEP}] - Date: Mon, 18 May 2020 18:51:44 +0300 Subject: [PATCH 09/11] x11-libs/gtk-fortran: 20.04 version bump In this ebuild: - The "high-level" build option patch is dropped due to this is implemented in source code of this version; The disabling "sketch" build part is moved "sed" command call while patching "CMakeLists.txt" file. - The "doc" USE-flag is dropped as "doxygen" target was removed by upstream. Signed-off-by: Sergey Torokhov --- x11-libs/gtk-fortran/Manifest | 1 + x11-libs/gtk-fortran/gtk-fortran-20.04.ebuild | 57 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 x11-libs/gtk-fortran/gtk-fortran-20.04.ebuild diff --git a/x11-libs/gtk-fortran/Manifest b/x11-libs/gtk-fortran/Manifest index b52b03212e..bf51ff021a 100644 --- a/x11-libs/gtk-fortran/Manifest +++ b/x11-libs/gtk-fortran/Manifest @@ -1 +1,2 @@ DIST gtk-fortran-19.04.tar.gz 4164311 BLAKE2B 728d55890344894df534de1530135933e488ea197dc2d9b8f28571ce56a236e7fe2be23ebc4708e1ae5ffeb10e4ee584db366945e3d262225c4e9f7db4fa611d SHA512 58154df7c531ebfabcc687f8f38d3c7db7f7adb6cc015e1ce9c44455ab2506a4dfe6b073a88100131ac3712fee68844e4544f2f77d954285e3fbc86e1b3d9394 +DIST gtk-fortran-20.04.tar.gz 4066185 BLAKE2B 45a84dfd27b5f0495da55526262e3ba888f1d7eaa685336aaafae726dab63d047d71901a07eafc08c2f51d1e24a087e85f7b2a172323a8f1608c5ff64193f31c SHA512 b8ebf9e129c95c7aa2cf67d41f16915a18f05bd4cce4001ed56148b6d4e4ae3fe2b2e2080f35a1db4be8256bc3d5992061bf0c0e55e332f9a75a4a03e52cded5 diff --git a/x11-libs/gtk-fortran/gtk-fortran-20.04.ebuild b/x11-libs/gtk-fortran/gtk-fortran-20.04.ebuild new file mode 100644 index 0000000000..8bb1099e11 --- /dev/null +++ b/x11-libs/gtk-fortran/gtk-fortran-20.04.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR="emake" +FORTRAN_STANDARD=2003 + +inherit cmake fortran-2 + +DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran" +HOMEPAGE="https://github.com/vmagnin/gtk-fortran" +SRC_URI="https://github.com/vmagnin/${PN}/archive/v${PV}.gtk3.24.18.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${P}.gtk3.24.18" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="examples high-level plplot" +REQUIRED_USE="plplot? ( high-level )" + +RDEPEND=" + x11-libs/gtk+:3 + plplot? ( >=sci-libs/plplot-5.13.0[cairo,fortran] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/fortran + virtual/pkgconfig +" + +DOCS=( "README.md" "README-high-level.md" "CHANGELOG.md" ) + +pkg_setup() { + fortran-2_pkg_setup +} + +src_prepare() { + default + # Fix library installation path and disable 'sketcher' build + sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \ + -e "s: add_subdirectory(sketcher)::" CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + mycmakeargs+=( + -DEXCLUDE_PLPLOT=$(usex plplot false true) + -DNO_BUILD_HL=$(usex high-level false true) + -DINSTALL_EXAMPLES=$(usex examples) + -DNO_BUILD_EXAMPLES=true + ) + cmake_src_configure +} From e3e2a91415fe8157006142e30ccb0a4302f50da0 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Mon, 18 May 2020 17:38:46 +0200 Subject: [PATCH 10/11] media-gfx/fontpreview: media-gfx/fontpreview: New package. Signed-off-by: Ronny (tastytea) Gutbrod --- media-gfx/fontpreview/Manifest | 1 + .../fontpreview/fontpreview-1.0.6.ebuild | 26 +++++++++++++++++++ media-gfx/fontpreview/metadata.xml | 15 +++++++++++ 3 files changed, 42 insertions(+) create mode 100644 media-gfx/fontpreview/Manifest create mode 100644 media-gfx/fontpreview/fontpreview-1.0.6.ebuild create mode 100644 media-gfx/fontpreview/metadata.xml diff --git a/media-gfx/fontpreview/Manifest b/media-gfx/fontpreview/Manifest new file mode 100644 index 0000000000..ed8778ce93 --- /dev/null +++ b/media-gfx/fontpreview/Manifest @@ -0,0 +1 @@ +DIST fontpreview-1.0.6.tar.gz 6285291 BLAKE2B 9f613016cb7ff981e6b815698f589d229ffe8da383b929e30114ad660ae5f4f83ee6d00520a67e722c229e868e9c96b6c1faded4df6e85793965a86ff4cbcb16 SHA512 4f9d1abf59d75f641d18c9b1161137683ea3a21a4447da7ca67a731a554ece3b483bd0e052a40941775c49172a1aa40b868a6f399f9d322168a45ce9f1059de2 diff --git a/media-gfx/fontpreview/fontpreview-1.0.6.ebuild b/media-gfx/fontpreview/fontpreview-1.0.6.ebuild new file mode 100644 index 0000000000..092e50bd74 --- /dev/null +++ b/media-gfx/fontpreview/fontpreview-1.0.6.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Highly customizable and minimal font previewer written in bash" +HOMEPAGE="https://github.com/sdushantha/fontpreview" +SRC_URI="https://github.com/sdushantha/fontpreview/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + x11-misc/xdotool + app-shells/fzf + virtual/imagemagick-tools + media-gfx/sxiv +" + +src_prepare() { + sed -i 's#install:#install:\n\t@mkdir -p $(DESTDIR)$(BINDIR)#' Makefile \ + || die "Patching the Makefile failed." + + default +} diff --git a/media-gfx/fontpreview/metadata.xml b/media-gfx/fontpreview/metadata.xml new file mode 100644 index 0000000000..aca3543d1d --- /dev/null +++ b/media-gfx/fontpreview/metadata.xml @@ -0,0 +1,15 @@ + + + + + gentoo@tastytea.de + Ronny (tastytea) Gutbrod + + + fontpreview is a commandline tool that lets you quickly search for fonts + that are installed on your machine and preview them. + + + https://github.com/sdushantha/fontpreview/issues + + From 34499c15ecca2b2c24c85ce6f4cb49cf60592ca1 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 18 May 2020 18:10:15 +0200 Subject: [PATCH 11/11] dev-python/pygaljs: python bump, remove old Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/pygaljs/Manifest | 2 -- dev-python/pygaljs/pygaljs-1.0.0.ebuild | 29 ------------------- ...s-1.0.1.ebuild => pygaljs-1.0.2-r1.ebuild} | 8 ++--- 3 files changed, 3 insertions(+), 36 deletions(-) delete mode 100644 dev-python/pygaljs/pygaljs-1.0.0.ebuild rename dev-python/pygaljs/{pygaljs-1.0.1.ebuild => pygaljs-1.0.2-r1.ebuild} (81%) diff --git a/dev-python/pygaljs/Manifest b/dev-python/pygaljs/Manifest index 2e8f7396d3..ae21075e9d 100644 --- a/dev-python/pygaljs/Manifest +++ b/dev-python/pygaljs/Manifest @@ -1,3 +1 @@ -DIST pygaljs-1.0.0.tar.gz 3322 BLAKE2B 247c911b98cfdefd987745f606ad691be4c3d99a66ce6c03789aa298777d6623f56e47f8211b702b4d2b3fdf39dbdcfdac547b9623186f793898b0b3906b5aa9 SHA512 bcb3e9b741901d491926024bbb89c224db4fbeddf1868119691442754c7089e7a8464f9d91e8c2f25c01718e827518efd4614056cdbe4fedd63341feee1d9ecc -DIST pygaljs-1.0.1.tar.gz 84094 BLAKE2B a8812145bcef5809b8a65c33b04925449e00578ebb6d09e965d93e7f5f2df0f1896691e054da729f4ff991dda04f826a0e5451a915c763414908ad8c35c97957 SHA512 9677c0adee1232f1f987e4f2326b5b4ca0d880fcba0d1232905a9234ad540ff0402d7101e53fd7b30f2a17b28b4ac39abf3a965d19b4e108c9bea91708dba5bc DIST pygaljs-1.0.2.tar.gz 89711 BLAKE2B 64287ac1238183e34b99275218f8598546b455f9de7df0f8285691e253a8421d1287eb9c499910eed47d2e971d4f709d0341a7e56129cbcca70c938105e1d5ad SHA512 d7e0000e8cc55cde9ca455c4761c83202a95aadb2431086cb5ee21b44307f35ccc8431a50b43699814d0cdec0d8f4c14df68ec19c0ad0ac27f2c7eec85799a82 diff --git a/dev-python/pygaljs/pygaljs-1.0.0.ebuild b/dev-python/pygaljs/pygaljs-1.0.0.ebuild deleted file mode 100644 index 1a20132957..0000000000 --- a/dev-python/pygaljs/pygaljs-1.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Python package providing assets from https://github.com/Kozea/pygal.js" -HOMEPAGE=" - https://github.com/ionelmc/python-pygaljs - https://pypi.org/project/pygaljs -" -SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# requires file in src/pygaljs/static that is not in release tarballs -RESTRICT="test" - -RDEPEND="" -DEPEND="" - -S="${WORKDIR}/python-${P}" - -distutils_enable_tests pytest diff --git a/dev-python/pygaljs/pygaljs-1.0.1.ebuild b/dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild similarity index 81% rename from dev-python/pygaljs/pygaljs-1.0.1.ebuild rename to dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild index bbabb3b6e0..f52f62d000 100644 --- a/dev-python/pygaljs/pygaljs-1.0.1.ebuild +++ b/dev-python/pygaljs/pygaljs-1.0.2-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI="7" -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) inherit distutils-r1 @@ -19,8 +19,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND="" -DEPEND=" - test? (