diff options
author | Victor Payno <vpayno+gentoo@gmail.com> | 2020-04-03 17:54:41 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-04-05 15:04:24 -0700 |
commit | 55dd40bfe97d9616b558a38c137f7cb206c4098a (patch) | |
tree | 2c5b231016ae9ca25974ec006b745087a3100ae7 /dev-python/sentinels | |
parent | dev-python/certifi: 2020.4.5.1 (diff) | |
download | gentoo-55dd40bfe97d9616b558a38c137f7cb206c4098a.tar.gz gentoo-55dd40bfe97d9616b558a38c137f7cb206c4098a.tar.bz2 gentoo-55dd40bfe97d9616b558a38c137f7cb206c4098a.zip |
dev-python/sentinels: sentinel class (new package)
Signed-off-by: Victor Payno <vpayno+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15220
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python/sentinels')
-rw-r--r-- | dev-python/sentinels/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sentinels/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/sentinels/sentinels-1.0.0.ebuild | 18 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/sentinels/Manifest b/dev-python/sentinels/Manifest new file mode 100644 index 000000000000..ee2ff905a5be --- /dev/null +++ b/dev-python/sentinels/Manifest @@ -0,0 +1 @@ +DIST sentinels-1.0.0.tar.gz 4074 BLAKE2B 5fdbe488430685e24218b4c1a2ead75272c2024f6653c5f1363ee0e1180878e91ad1e6500ce8f7199b7a95f9680f427927ffa8e573fb5c7ff45ede2894a9fa9f SHA512 06aebf28a3074d377b4257ce3e07ced51425f738b3f2e3e4c1764e946137a363c6e94b247e0eb165c6c87eb749751aac36b580b9c550fe513dc0e126738e8794 diff --git a/dev-python/sentinels/metadata.xml b/dev-python/sentinels/metadata.xml new file mode 100644 index 000000000000..16f92bff830d --- /dev/null +++ b/dev-python/sentinels/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vpayno+gentoo@gmail.com</email> + <name>Victor Payno</name> + </maintainer> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <longdescription> + Sentinels are objects with special meanings. They can be thought of as singletons, but they service the need of having 'special' values in your code, that have special meanings. + </longdescription> + <upstream> + <remote-id type="pypi">sentinels</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sentinels/sentinels-1.0.0.ebuild b/dev-python/sentinels/sentinels-1.0.0.ebuild new file mode 100644 index 000000000000..664a217c9ed5 --- /dev/null +++ b/dev-python/sentinels/sentinels-1.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python Sentinels class which are objects with special meanings." +HOMEPAGE="https://pypi.org/project/sentinels" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests nose |