From 8d2f556225ff5add1122a2d237bdc4c3d761d769 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 20 Mar 2022 07:32:38 +0100 Subject: [PATCH] add uplink-protobuf-0.1.0 --- README.md | 4 +-- dev-python/uplink-protobuf/Manifest | 3 ++ dev-python/uplink-protobuf/metadata.xml | 15 ++++++++ .../uplink-protobuf-0.1.0.ebuild | 34 +++++++++++++++++++ 4 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 dev-python/uplink-protobuf/Manifest create mode 100644 dev-python/uplink-protobuf/metadata.xml create mode 100644 dev-python/uplink-protobuf/uplink-protobuf-0.1.0.ebuild diff --git a/README.md b/README.md index ce96256bd..ba0982bb0 100644 --- a/README.md +++ b/README.md @@ -496,11 +496,11 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1718 Ebuilds in total, 1710 of them have in total 1717 (34 different) licenses assigned. +There are 1720 Ebuilds in total, 1712 of them have in total 1719 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1044| +|MIT|1046| |Apache-2.0|315| |GPL-3|105| |BSD|95| diff --git a/dev-python/uplink-protobuf/Manifest b/dev-python/uplink-protobuf/Manifest new file mode 100644 index 000000000..96afbc44d --- /dev/null +++ b/dev-python/uplink-protobuf/Manifest @@ -0,0 +1,3 @@ +DIST uplink-protobuf-0.1.0.tar.gz 7994 BLAKE2B 64b6b1eecf6853725f634ac0e1adde13cdcf9b689d41c8099b9963e3f072b1be79600de29c962612421787bee075a80137c1ba872ad1e3114169565e88f5e758 SHA512 83f46a43d6bd45eafa89acbc1e836ca3e8a6ee1b87d4f253dc62b1f324027be3dad2e3aaad4293310db5f294ed3219080e9f645e153441a3402db9c17af83f2c +EBUILD uplink-protobuf-0.1.0.ebuild 827 BLAKE2B fb0a9caf61db2fe27c7c560b53588d970e316854b6cdd74765be273dfc7707ee3ba3eab54d2dc00988b5be968a775f8001437b935607461557f50401efea6aa5 SHA512 d716899946119ca7d84e3539a7ab3ca2ccc283539b0ea3ed02ef61faf967f3ba77a0bc4fd22fc723739bf0fd608c59ecce9e22098fed01a2d556dd02dca69524 +MISC metadata.xml 466 BLAKE2B 9b88564b86ff0afdf8c8fd86ec133f55a71ae1f1ff13fff31bf1a77236899f13b7275f9ecd3a6b3b0fbfdf1a6f74030c3c15908fe832c729f6b0a77f421052b1 SHA512 8bd47708a558e1c33a74a5fafba4e4cf3f5338f2aa530cbb798eaad95d4d5c741ca00e62d737b2ebc3692e3fa8d63b065c0bd6f2b49eb702f5e93856ccaf8d73 diff --git a/dev-python/uplink-protobuf/metadata.xml b/dev-python/uplink-protobuf/metadata.xml new file mode 100644 index 000000000..8fb8a1e12 --- /dev/null +++ b/dev-python/uplink-protobuf/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + uplink-protobuf + + raj.pritvi.kumar@gmail.com + P. Raj Kumar + + + diff --git a/dev-python/uplink-protobuf/uplink-protobuf-0.1.0.ebuild b/dev-python/uplink-protobuf/uplink-protobuf-0.1.0.ebuild new file mode 100644 index 000000000..684ba83e5 --- /dev/null +++ b/dev-python/uplink-protobuf/uplink-protobuf-0.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Protocol Buffers (Protobuf) support for Uplink." +HOMEPAGE="https://github.com/prkumar/uplink-protobuf https://pypi.org/project/uplink-protobuf/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/uplink-0.6.0[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}