diff options
author | Horea Christian <chr@chymera.eu> | 2022-03-24 16:20:56 -0400 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-25 15:39:37 +0100 |
commit | e7963135d008f2a75f05b51d2ed4dcde078f5fcc (patch) | |
tree | c927175ce0a716e9ab9367a44506f598db9cd00c /dev-python | |
parent | net-wireless/iwd: add 1.26 (diff) | |
download | gentoo-e7963135d008f2a75f05b51d2ed4dcde078f5fcc.tar.gz gentoo-e7963135d008f2a75f05b51d2ed4dcde078f5fcc.tar.bz2 gentoo-e7963135d008f2a75f05b51d2ed4dcde078f5fcc.zip |
dev-python/uri_template: new package, v1.1.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/uri_template/Manifest | 1 | ||||
-rw-r--r-- | dev-python/uri_template/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/uri_template/uri_template-1.1.0.ebuild | 23 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/uri_template/Manifest b/dev-python/uri_template/Manifest new file mode 100644 index 000000000000..d1d4d726f52a --- /dev/null +++ b/dev-python/uri_template/Manifest @@ -0,0 +1 @@ +DIST uri_template-v1.1.0.tar.gz 18014 BLAKE2B 01ac4439b6661d0d1e7adb5b5ebcc594497cdaeef24b33cbfc8a26f607e779a72ae20838dbbcce28278886c87df475adfd53c73287a4768d848f65b95ba2ce58 SHA512 b6d34931e750acc6c160e7157fc000984acc099023e9794163777679cbe706b8a646bab89e82171c0318827b7a7b9cfcfb997768120cabcf36e7982214321665 diff --git a/dev-python/uri_template/metadata.xml b/dev-python/uri_template/metadata.xml new file mode 100644 index 000000000000..582b879aa5bb --- /dev/null +++ b/dev-python/uri_template/metadata.xml @@ -0,0 +1,20 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>gentoo@chymera.eu</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="pypi">uri-template</remote-id> + </upstream> + <stabilize-allarches/> +</pkgmetadata> diff --git a/dev-python/uri_template/uri_template-1.1.0.ebuild b/dev-python/uri_template/uri_template-1.1.0.ebuild new file mode 100644 index 000000000000..f49291c92388 --- /dev/null +++ b/dev-python/uri_template/uri_template-1.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +MY_P="${PN}-v${PV}" +DESCRIPTION="URI Template expansion in strict adherence to RFC 6570" +HOMEPAGE="https://gitlab.linss.com/open-source/uri_template/" +SRC_URI="https://gitlab.linss.com/open-source/${PN}/-/archive/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +python_test() { + "${EPYTHON}" "test.py" || die "Tests fail with ${EPYTHON}." +} |