app-misc/siglo: save minimally used package from gentoo

This commit is contained in:
Rick Farina (Zero_Chaos) 2022-07-05 11:04:30 -04:00
parent 1739a78310
commit 239ebcc34b
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
5 changed files with 85 additions and 0 deletions

1
app-misc/siglo/Manifest Normal file
View file

@ -0,0 +1 @@
DIST siglo-0.9.9.tar.gz 38697 BLAKE2B 0519169a2cd49e7ad17be7a051565bf2679e4eb56f022943b69d3abfc10049478f42c2d2e7a63eb89440f48cb7f0c359c415d9dd173ba6283ae961462311d4c4 SHA512 966b2513e0832ebfa3b30f1c7e28dba12bc9c2115ced5d58e6208d1c97b241fae999ec2bb78c704ad310dbd99fc03899ed92cba992bd07c9e38bb420063c1bf2

View file

@ -0,0 +1,51 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
inherit gnome2-utils python-single-r1 meson xdg
DESCRIPTION="GTK app to sync InfiniTime watch with PinePhone"
HOMEPAGE="https://github.com/alexr4535/siglo"
SRC_URI="https://github.com/alexr4535/siglo/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND=""
RDEPEND="${DEPEND}
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/gatt-python[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
')"
BDEPEND="${PYTHON_DEPS}"
#tests seem to fail
#RESTRICT="test"
src_configure() {
python_setup
sed -i "s#python.find_installation('python3').path()#\'${EPYTHON}\'#" src/meson.build
meson_src_configure
}
src_install() {
meson_src_install
python_fix_shebang "${ED}/usr/bin"
python_optimize
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View file

@ -0,0 +1 @@
DIST gatt-python-0.2.6.tar.gz 11368 BLAKE2B 835721be6c0238e02cebf97acbac6041cd2bc37ecee01f6496cb2406edeec02346cd00425f8130026693ec30105c647e7246b3dd04da4b48c4021ef4e62d3018 SHA512 0751784e908132fac566f6c5c64de1bb4ca8273e099ff5becae7e5043c2c13ca3a2ef63e5585ac225088a83af15c794b797268c3abeeaedccc058fbd5cee0a09

View file

@ -0,0 +1,20 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Bluetooth GATT SDK for Python"
HOMEPAGE="https://github.com/getsenic/gatt-python"
SRC_URI="https://github.com/getsenic/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="amd64 arm64 x86"
SLOT="0"
RDEPEND="
net-wireless/bluez
"

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
<upstream>
<remote-id type="github">getsenic/gatt-python</remote-id>
</upstream>
</pkgmetadata>