From 9737607ffdba7fe08c8b5e1b9cc19e2b6cbac2ed Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 6 Mar 2022 01:41:15 +0000 Subject: Adding metadata --- dev-python/gphoto2/Manifest | 2 +- dev-python/gphoto2/gphoto2-2.3.1.ebuild | 21 ----- dev-python/gphoto2/gphoto2-2.3.3.ebuild | 21 +++++ dev-python/jc/Manifest | 1 + dev-python/jc/jc-1.18.4.ebuild | 26 ++++++ dev-python/sphinx-autoapi/Manifest | 1 + dev-python/sphinx-autoapi/metadata.xml | 22 +++++ .../sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild | 32 +++++++ dev-python/uranium/uranium-4.13.0-r1.ebuild | 103 +++++++++++++++++++++ dev-python/uranium/uranium-4.13.0.ebuild | 103 --------------------- 10 files changed, 207 insertions(+), 125 deletions(-) delete mode 100644 dev-python/gphoto2/gphoto2-2.3.1.ebuild create mode 100644 dev-python/gphoto2/gphoto2-2.3.3.ebuild create mode 100644 dev-python/jc/jc-1.18.4.ebuild create mode 100644 dev-python/sphinx-autoapi/Manifest create mode 100644 dev-python/sphinx-autoapi/metadata.xml create mode 100644 dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild create mode 100644 dev-python/uranium/uranium-4.13.0-r1.ebuild delete mode 100644 dev-python/uranium/uranium-4.13.0.ebuild (limited to 'dev-python') diff --git a/dev-python/gphoto2/Manifest b/dev-python/gphoto2/Manifest index ff1c2748f510..6516dd812795 100644 --- a/dev-python/gphoto2/Manifest +++ b/dev-python/gphoto2/Manifest @@ -1,2 +1,2 @@ -DIST python-gphoto2-2.3.1.tar.gz 555377 BLAKE2B aecc740788fee210112c57c453fbbd963c564f87d5153971145a8ee0e8383c8a88c206283b10c464291e4bb628e119411b68bffaa86ac80b1611994f4af944e4 SHA512 ed4fbde016aef2011e451c36ed015b37a4e934efe00c17d215bc91921a037990636d3582e633049464153548e56b9c968300a2364959af05a7346f344cea566f DIST python-gphoto2-2.3.2.tar.gz 555415 BLAKE2B b13676f8ebd8cf976e26ad01d94bac1b9c35356d6d8eadecde40342b3b4b0e9b0abb6e6790ffbc2c912f130ad54be55ebd0307d1b06a386f73b966888ee9392a SHA512 70b32c6b67f66f2adba71a9ef6dfb7ac745082ab5153525a01eba00aa3b6c86953138963f67344db841a614415de16e51ca2eb0aa7194fd9aa18bd981b7b46f7 +DIST python-gphoto2-2.3.3.tar.gz 555412 BLAKE2B 39fb92ca534700dbd63149ad675f249a7dcf9d92dfe4f2585ef8c946d4f658f0c30f76de61d46c1c86b25764a972f454f55800d2d5fbaf87dbfba4735c8d7272 SHA512 be1e3ca6ae4d0a44e86a27f55dd2d46f501b69d396d5b1e586887507b93cf8491452c10bb7ca7e88f149de3f6dfe8963caa44333257557aa4f86e249d9c30ed5 diff --git a/dev-python/gphoto2/gphoto2-2.3.1.ebuild b/dev-python/gphoto2/gphoto2-2.3.1.ebuild deleted file mode 100644 index f8db59410085..000000000000 --- a/dev-python/gphoto2/gphoto2-2.3.1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021-2022 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="python-gphoto2 is a comprehensive Python binding to libgphoto2" -HOMEPAGE="https://pypi.org/project/gphoto2 https://github.com/jim-easterbrook/python-gphoto2" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> python-${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - media-libs/libgphoto2 -" -DEPEND="${RDEPEND}" diff --git a/dev-python/gphoto2/gphoto2-2.3.3.ebuild b/dev-python/gphoto2/gphoto2-2.3.3.ebuild new file mode 100644 index 000000000000..f8db59410085 --- /dev/null +++ b/dev-python/gphoto2/gphoto2-2.3.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="python-gphoto2 is a comprehensive Python binding to libgphoto2" +HOMEPAGE="https://pypi.org/project/gphoto2 https://github.com/jim-easterbrook/python-gphoto2" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> python-${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-libs/libgphoto2 +" +DEPEND="${RDEPEND}" diff --git a/dev-python/jc/Manifest b/dev-python/jc/Manifest index b9c7b674b7e6..e47385eb7db2 100644 --- a/dev-python/jc/Manifest +++ b/dev-python/jc/Manifest @@ -2,3 +2,4 @@ DIST jc-1.17.7.tar.gz 3922848 BLAKE2B e075e5e2c7bd06d7c4310a2cb94b1ddd55014d9d8a DIST jc-1.18.1.tar.gz 3927394 BLAKE2B f87744e2cfdda10e6d2b1ea021f304e533ab1838de37f09b534e8ed1cf522d6267c96ac22d9ab665fdd593d27adcfa6da34f2f2471bae783585745882796ff8d SHA512 00fb9bfd2ebf9419c866ed56113310f3917e5dbbe538b0d48f5e66979773108f430168186fb350ed9494344f1ceb80e0bcef51344994b78e852b5c6305e9c474 DIST jc-1.18.2.tar.gz 3928302 BLAKE2B 5deb67c56d3fc32728da6e67d7941c8ba01482c1ead86c82f68ed49c8aa53de8e88a77c3840db1f4d9c4d00ea5c96fdb9f7631d99f1dd9a288a41e2e9d50b797 SHA512 f425cc225fd4f993bb0a3c5065f0e90894e7330976dc4bfae08acd4559d0cad5a4cd14d93976814ea03f853ec0faf11bfc1c3b6b8b9d7a61071398d628ab57dc DIST jc-1.18.3.tar.gz 3970152 BLAKE2B bd37c2f4128005b39c4fd6b44664d2443f77830ca3158f0b4bb7133527e2543657f3d9654c8d845ada55c2940fc18cc7232117d3e298e3bfc62188250ee1b1c6 SHA512 8076668caaef2559537f828b45d0624f2a2ed35893e1c5af82671f3d97e1f71ebc22817f4036a0d60af183a5b3e717854672b2cfc65f776532ea8ca99ddfec35 +DIST jc-1.18.4.tar.gz 3981817 BLAKE2B f73f153913b02a29e88d75d49cf3f072124be0f23a5a65bf8c85e77bce3934d81406fabfaf5fb4cb9df57bb001b2772a6d31e6e3a3eb17b1cf71afb7d71178f1 SHA512 74eb22cfa7743ddb9477f7f0ab0afa24079e6003f4c25fc41cdfa492fefeda2a35b09bfd600e87c2cb1502667cd71c298af7f6995c097cee4e17df7476ce879b diff --git a/dev-python/jc/jc-1.18.4.ebuild b/dev-python/jc/jc-1.18.4.ebuild new file mode 100644 index 000000000000..6c748171405c --- /dev/null +++ b/dev-python/jc/jc-1.18.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 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="Converts the output of popular command-line tools and file-types to JSON" +HOMEPAGE="https://github.com/kellyjonbrazil/jc" +SRC_URI=" + https://github.com/kellyjonbrazil/jc/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +RDEPEND="dev-python/pygments[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest new file mode 100644 index 000000000000..8f4b84c9d6c4 --- /dev/null +++ b/dev-python/sphinx-autoapi/Manifest @@ -0,0 +1 @@ +DIST sphinx-autoapi-1.8.4.tar.gz 83541 BLAKE2B 05d706fda6da4aea55e535a995ef01dc54269fa8e452c51c9bf2cec2e596ccec20191b8cb3c0cde1b93daa4f5d85074a293c9fd449d99d3c494ba20c6cee2df8 SHA512 10b4d87e1046ad372a3491006cd4bece8334fc398025f98654781c83ee200045d707f3293a031f8cf0abe5d20a111e7ded864f2b6deffe5222b331ca8c9b688b diff --git a/dev-python/sphinx-autoapi/metadata.xml b/dev-python/sphinx-autoapi/metadata.xml new file mode 100644 index 000000000000..df247a73278a --- /dev/null +++ b/dev-python/sphinx-autoapi/metadata.xml @@ -0,0 +1,22 @@ + + + + + python@gentoo.org + + + marco@sirabella.org + Marco Sirabella + + + proxy-maint@gentoo.org + Proxy Maintainers + + + sphinx-autoapi + https://github.com/readthedocs/sphinx-autoapi/issues + https://sphinx-autoapi.readthedocs.io + + gentoo-staging + + \ No newline at end of file diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild new file mode 100644 index 000000000000..1e0b23dac1bf --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-1.8.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 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 new approach to API documentation in Sphinx" +HOMEPAGE="https://sphinx-autoapi.readthedocs.io/" +SRC_URI="https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz -> ${P}.tar.gz" +# pypi lacks docs/ + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/astroid[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] +" + +DOCS=( README.rst CHANGELOG.rst ) + +# Test requires pypi download w/ internet: https://github.com/readthedocs/sphinx-autoapi/issues/329 +EPYTEST_DESELECT="tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample-override_conf2-AutoAPI" + +distutils_enable_tests pytest +distutils_enable_sphinx docs --no-autodoc diff --git a/dev-python/uranium/uranium-4.13.0-r1.ebuild b/dev-python/uranium/uranium-4.13.0-r1.ebuild new file mode 100644 index 000000000000..dcfac63704e9 --- /dev/null +++ b/dev-python/uranium/uranium-4.13.0-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit cmake distutils-r1 + +MY_PN="Uranium" + +DESCRIPTION="A Python framework for building 3D printing related applications" +HOMEPAGE="https://github.com/Ultimaker/Uranium" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug doc test" + +BDEPEND="${PYTHON_DEPS} + sys-devel/gettext + doc? ( app-doc/doxygen[dot] ) + test? ( + $(python_gen_cond_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + ') + )" + +DEPEND="${PYTHON_DEPS} + >=dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/scipy-1.1[${PYTHON_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] + ')" + +RDEPEND="${DEPEND} + dev-qt/qtquickcontrols:5 + dev-qt/qtquickcontrols2:5" + +DOCS=( README.md ) + +S="${WORKDIR}/${MY_PN}-${PV}" + +distutils_enable_tests pytest + +src_prepare() { + python_fix_shebang . + + if ! use doc ; then + sed -i -e '/add_custom_target(doc/d' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/" + -DGETTEXT_MSGINIT_EXECUTABLE="msginit" + ) + + if ! use debug; then + sed -i -e 's logging.DEBUG logging.ERROR g' \ + plugins/ConsoleLogger/ConsoleLogger.py \ + plugins/FileLogger/FileLogger.py || die + fi + + sed -i \ + -e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \ + CMakeLists.txt cmake/UraniumPluginInstall.cmake + + sed -i \ + -e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \ + -e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \ + cmake/UraniumPluginInstall.cmake + + sed -i \ + -e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \ + -e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \ + CMakeLists.txt + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + python_optimize "${ED}"/usr +} diff --git a/dev-python/uranium/uranium-4.13.0.ebuild b/dev-python/uranium/uranium-4.13.0.ebuild deleted file mode 100644 index a1277d266678..000000000000 --- a/dev-python/uranium/uranium-4.13.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit cmake distutils-r1 - -MY_PN="Uranium" - -DESCRIPTION="A Python framework for building 3D printing related applications" -HOMEPAGE="https://github.com/Ultimaker/Uranium" -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="debug doc test" - -BDEPEND="${PYTHON_DEPS} - sys-devel/gettext - doc? ( app-doc/doxygen[dot] ) - test? ( - $(python_gen_cond_dep ' - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] - ') - )" - -DEPEND="${PYTHON_DEPS} - ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg] - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/scipy-1.1[${PYTHON_USEDEP}] - sci-libs/shapely[${PYTHON_USEDEP}] - ')" - -RDEPEND="${DEPEND} - dev-qt/qtquickcontrols:5 - dev-qt/qtquickcontrols2:5" - -DOCS=( README.md ) - -S="${WORKDIR}/${MY_PN}-${PV}" - -distutils_enable_tests pytest - -src_prepare() { - python_fix_shebang . - - if ! use doc ; then - sed -i -e '/add_custom_target(doc/d' CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/" - -DGETTEXT_MSGINIT_EXECUTABLE="msginit" - ) - - if ! use debug; then - sed -i -e 's logging.DEBUG logging.ERROR g' \ - plugins/ConsoleLogger/ConsoleLogger.py \ - plugins/FileLogger/FileLogger.py || die - fi - - sed -i \ - -e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \ - CMakeLists.txt cmake/UraniumPluginInstall.cmake - - sed -i \ - -e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \ - -e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \ - cmake/UraniumPluginInstall.cmake - - sed -i \ - -e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \ - -e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \ - CMakeLists.txt - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile doc -} - -src_install() { - cmake_src_install - - python_optimize "${ED}"/usr -} -- cgit v1.3.1