From d5f704aeefcddf84c928c77f138968554a171262 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 26 Oct 2023 18:20:52 +0000 Subject: Adding metadata --- dev-python/pplpy/Manifest | 1 + dev-python/pplpy/metadata.xml | 21 ++++++++++++++++ dev-python/pplpy/pplpy-0.8.9.ebuild | 49 +++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 dev-python/pplpy/Manifest create mode 100644 dev-python/pplpy/metadata.xml create mode 100644 dev-python/pplpy/pplpy-0.8.9.ebuild (limited to 'dev-python/pplpy') diff --git a/dev-python/pplpy/Manifest b/dev-python/pplpy/Manifest new file mode 100644 index 000000000000..b51b6c65f034 --- /dev/null +++ b/dev-python/pplpy/Manifest @@ -0,0 +1 @@ +DIST pplpy-0.8.9.tar.gz 66017 BLAKE2B 90da3b4c3e992d0ca969925d8142b114fbbfd5214a768f2e56825d8689e2c4aa2e68a3fa45da9df68168a28413153eb189df277157823e88503668be5c26505c SHA512 618a0a1d603e2859313ad4f71b3cc40156a06371c6b8971fdab8275f6676fc19510e3927828c641819399b5ea6646e954738309fbf8c10fba5733c7410ed75fc diff --git a/dev-python/pplpy/metadata.xml b/dev-python/pplpy/metadata.xml new file mode 100644 index 000000000000..4e4fe7df26d0 --- /dev/null +++ b/dev-python/pplpy/metadata.xml @@ -0,0 +1,21 @@ + + + + + mjo@gentoo.org + + + frp.bissey@gmail.com + François Bissey + + + proxy-maint@gentoo.org + Proxy Maintainers + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/pplpy/pplpy-0.8.9.ebuild b/dev-python/pplpy/pplpy-0.8.9.ebuild new file mode 100644 index 000000000000..7376dea8df39 --- /dev/null +++ b/dev-python/pplpy/pplpy-0.8.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Parma Polyhedra Library (PPL)" +HOMEPAGE="https://pypi.org/project/pplpy/ + https://github.com/sagemath/pplpy" + +# The file headers under ppl/ contain the "or later" bit +LICENSE="GPL-3+" + +# API/ABI changes in point releases +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND="dev-libs/ppl + dev-python/cysignals[${PYTHON_USEDEP}] + dev-python/gmpy[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile() { + # Parallel build breaks the test suite somehow. This should be + # reported upstream but first someone will need to figure out + # how to reproduce it outside of Gentoo. + distutils-r1_python_compile -j 1 +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all(){ + use doc && local HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all +} + +python_test(){ + "${EPYTHON}" setup.py test || die +} -- cgit v1.3