This commit is contained in:
Torsten Kurbad
2023-11-13 14:00:50 +01:00
parent 800fc79e87
commit 73663ebfdb
27 changed files with 880 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST PyBluez-0.22.zip 109060 BLAKE2B 0bbe0d23b3baf0e76567f2dee8f38ca1460767179df15b52c545e84cd131d23a5ae3752dd7867aae6307fd98f0b2c5a5f55b23c550805e163675526696f559fb SHA512 c166a976d311eba73516aaf86ab42b100a39ebccd3d70f93ccb89f59c12127a857698dcfe4b25f8f689eee12187b5f35ccc8235e36cf012e73df155ba5adfae6
EBUILD pybluez-0.22.ebuild 739 BLAKE2B 575535643e5fcbab22a71dd634c871557ca30417e58f8655481eadeb14d614bab99e3da7c038ffdd6986dd5f3619dcea9e3c66308bbd7411fee806ba82a9ade8 SHA512 b5baab23926fcfb7829065e4551810b4f958b2bfe72d6806b468b3025a110ccdb7a1da55c3438ba0fc65081877d365463b426eb49f2663e4a45e1e99af6a72d7
EBUILD pybluez-9999.ebuild 892 BLAKE2B f22aa457ffbcee6b66388fd70c4865e72672cbf398ded869dd185b4ade0fcb7832882bec472f0960aa86cfc07eae1fab972dcdb94d1493ffc1d500a28f33911b SHA512 5a4f9f919c017e25ccba7f04bf0ed29d59721d7ef5d08ab292cfa88fc87eba8cfd3989acee2654d651e777c98cbf29f04a04b10eb61fb03f7007fd421545d114
+34
View File
@@ -0,0 +1,34 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="PyBluez"
inherit distutils-r1 pypi
DESCRIPTION="Bluetooth Python extension module"
HOMEPAGE="https://github.com/pybluez/pybluez/ https://pypi.org/project/PyBluez/"
SRC_URI="$(pypi_sdist_url --no-normalize "${PYPI_PN}" "${PV}" ".zip")"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
RDEPEND="net-wireless/bluez"
BDEPEND="
app-arch/unzip
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
+42
View File
@@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="PyBluez"
inherit distutils-r1
DESCRIPTION="Bluetooth Python extension module"
HOMEPAGE="https://github.com/pybluez/pybluez/ https://pypi.org/project/PyBluez/"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
KEYWORDS=""
inherit git-r3
else
SRC_URI="$(pypi_sdist_url --no-normalize "${PYPI_PN}" "${PV}" ".zip")"
inherit pypi
fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
RDEPEND="net-wireless/bluez"
BDEPEND="
app-arch/unzip
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}