commit: e7963135d008f2a75f05b51d2ed4dcde078f5fcc Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Thu Mar 24 20:20:56 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 25 14:39:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7963135
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 <AT> chymera.eu> Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/uri_template/Manifest | 1 + dev-python/uri_template/metadata.xml | 20 ++++++++++++++++++++ dev-python/uri_template/uri_template-1.1.0.ebuild | 23 +++++++++++++++++++++++ 3 files changed, 44 insertions(+) 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>[email protected]</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>[email protected]</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}." +}
