diff --git a/dev-python/gbinder/Manifest b/dev-python/gbinder/Manifest index 95289ea835..c2973f6f33 100644 --- a/dev-python/gbinder/Manifest +++ b/dev-python/gbinder/Manifest @@ -1 +1,2 @@ DIST gbinder-1.1.2.tar.gz 22772 BLAKE2B c5b3ae434422afc761e9e9d63f86ab9c89b6b2b96b98f7d8cde185de5c2349a7a42ac2a9355fabc0c412d1eb580c7d305056d2546dd148b558c9154c76127c41 SHA512 6f076a5cb265eed193d2ac2623921e76ced923230ca2131460efea941182f26b770d657f5155f6a29fa54a314f6dc62a8d5b96d14ee90a359389e60318a38b71 +DIST gbinder-1.3.0.tar.gz 25267 BLAKE2B 060d8d0c7333fa145398e521d83eef7296531631ae3b2bf585b369f6444c613b943b62b40fe93ef26145501b1897318126b39a4f722e2a5fb98e61539d9c1329 SHA512 fda25822cc6021f11204029322458abf923ac326cc4aa5b9f36920022662460b02e18e45c4765d095bd074cdbfe43023237bc09dcab21cd9524146a62e302d5c diff --git a/dev-python/gbinder/gbinder-1.3.0.ebuild b/dev-python/gbinder/gbinder-1.3.0.ebuild new file mode 100644 index 0000000000..59f049d161 --- /dev/null +++ b/dev-python/gbinder/gbinder-1.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) + +DISTUTILS_USE_PEP517="setuptools" +DISTUTILS_EXT=1 + +inherit distutils-r1 + +if [[ ${PV} != *9999* ]]; then + MY_PN="${PN}-python" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git" +fi + +DESCRIPTION="Python bindings for dev-libs/gbinder" +HOMEPAGE="https://github.com/erfanoabdi/gbinder-python" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + dev-libs/gbinder + dev-libs/libglibutil +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-python/cython[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}"/gbinder-1.1.1-setuptools.patch +) + +python_configure_all() { + DISTUTILS_ARGS=( --cython ) +}