1
0

dev-python/gbinder: add 1.1.0; enable PEP 517

This commit is contained in:
Ryan Fox 2022-08-07 17:58:07 -07:00
parent 9984798983
commit cb50df965a
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 53 additions and 11 deletions

View File

@ -1,4 +1,6 @@
DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1 SHA512 3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51 DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1 SHA512 3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51
DIST gbinder-1.1.0.tar.gz 22726 BLAKE2B 7cedcfa5eba707e9ffee41f150cad055171b311e5a1e711e130fd298c2bff402515e75a3052529de858ad4c0535f5b303018c15ba2148d08f3871183fb1e70fe SHA512 12b1ee1892a2336d86e96430a68832c2c09330ff6b5b3e04423f5922bc309bdf136d85722b6a2106528c00a7ef12f8eba90500fd31ba05a33186ec74239f8b2a
EBUILD gbinder-1.0.0.ebuild 795 BLAKE2B 0578a87f2374fcf30b375c2cecb4fb4c0e1e569b5c56993fc2db20f42466e51d0c31f6fbd2c4804f5c45585b68bfffe6e10aeaf576da7aa3581bd13cf318aa8e SHA512 fa5bf5566ab0406ac51deca0d58279c9519d55e1c837a17e6ede983244c8962d3badfe185819b2af1c6eb796cfd419ba1ee93755f2c0ed64e621e73834fa669d EBUILD gbinder-1.0.0.ebuild 795 BLAKE2B 0578a87f2374fcf30b375c2cecb4fb4c0e1e569b5c56993fc2db20f42466e51d0c31f6fbd2c4804f5c45585b68bfffe6e10aeaf576da7aa3581bd13cf318aa8e SHA512 fa5bf5566ab0406ac51deca0d58279c9519d55e1c837a17e6ede983244c8962d3badfe185819b2af1c6eb796cfd419ba1ee93755f2c0ed64e621e73834fa669d
EBUILD gbinder-9999.ebuild 795 BLAKE2B 0578a87f2374fcf30b375c2cecb4fb4c0e1e569b5c56993fc2db20f42466e51d0c31f6fbd2c4804f5c45585b68bfffe6e10aeaf576da7aa3581bd13cf318aa8e SHA512 fa5bf5566ab0406ac51deca0d58279c9519d55e1c837a17e6ede983244c8962d3badfe185819b2af1c6eb796cfd419ba1ee93755f2c0ed64e621e73834fa669d EBUILD gbinder-1.1.0.ebuild 838 BLAKE2B a6fd7e059afc128fe915b838341d014d2ff54fd88dcd7951bf2506e86e09bfba9e547f068b33e8d445a2dd79879c0938529e5218e553a224087c16a1987b7629 SHA512 c1403e742372441b39430c84e913ff941a46e9e0dbef395c7318db0fee87fd271874a55f7da56880b1084e72708096e726f6654ff94076708286b6e8dec7be26
EBUILD gbinder-9999.ebuild 838 BLAKE2B a6fd7e059afc128fe915b838341d014d2ff54fd88dcd7951bf2506e86e09bfba9e547f068b33e8d445a2dd79879c0938529e5218e553a224087c16a1987b7629 SHA512 c1403e742372441b39430c84e913ff941a46e9e0dbef395c7318db0fee87fd271874a55f7da56880b1084e72708096e726f6654ff94076708286b6e8dec7be26
MISC metadata.xml 332 BLAKE2B 70c12872402aad1353ff9120cd0dcb1aa8865fee04cf227f6017ae9789559f9d97f125a2e3681dfd0ddacdc2dcfc64dc10caa908b1b653b272e1d12e013a5689 SHA512 755f31f377f95a03a898a73d29c6097bb07b4ccce9190229b1bf3673a750535390694851c1008bb79177c1025b60ed84548e2075094170f851e22dbb4fbb8309 MISC metadata.xml 332 BLAKE2B 70c12872402aad1353ff9120cd0dcb1aa8865fee04cf227f6017ae9789559f9d97f125a2e3681dfd0ddacdc2dcfc64dc10caa908b1b653b272e1d12e013a5689 SHA512 755f31f377f95a03a898a73d29c6097bb07b4ccce9190229b1bf3673a750535390694851c1008bb79177c1025b60ed84548e2075094170f851e22dbb4fbb8309

View File

@ -0,0 +1,38 @@
# Copyright 1999-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
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"
else
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"
fi
DESCRIPTION="Python bindings for libgbinder"
HOMEPAGE="https://github.com/erfanoabdi/gbinder-python"
LICENSE="GPL-3"
SLOT="0"
DEPEND="dev-libs/gbinder"
RDEPEND="${DEPEND}"
BDEPEND="
virtual/pkgconfig
dev-python/cython[${PYTHON_USEDEP}]
"
src_configure() {
cython -3 gbinder.pyx -o gbinder.c || die
}
distutils_enable_tests pytest

View File

@ -1,22 +1,22 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 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=7 EAPI=8
PYTHON_COMPAT=( python3_9 ) DISTUTILS_USE_PEP517=setuptools
DISTUTILS_USE_SETUPTOOLS=no PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 inherit distutils-r1
if [[ ${PV} != *9999* ]]; then if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"
else
MY_PN="${PN}-python" MY_PN="${PN}-python"
MY_P="${MY_PN}-${PV}" MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}" S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64" KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"
fi fi
DESCRIPTION="Python bindings for libgbinder" DESCRIPTION="Python bindings for libgbinder"
@ -31,6 +31,8 @@ BDEPEND="
dev-python/cython[${PYTHON_USEDEP}] dev-python/cython[${PYTHON_USEDEP}]
" "
python_compile() { src_configure() {
distutils-r1_python_compile --cython cython -3 gbinder.pyx -o gbinder.c || die
} }
distutils_enable_tests pytest