commit: 7375155c3fe82c3c6de8187c6858226b30efbd3b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 10 18:23:55 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jan 10 21:12:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7375155c
dev-python/sumtypes: New package, 0.1_alpha6 New package needed for dev-python/GitPython's test suite. It seems dead, though. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/sumtypes/Manifest | 1 + dev-python/sumtypes/metadata.xml | 12 ++++++++++ dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild | 31 ++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/sumtypes/Manifest b/dev-python/sumtypes/Manifest new file mode 100644 index 000000000000..e043228984de --- /dev/null +++ b/dev-python/sumtypes/Manifest @@ -0,0 +1 @@ +DIST sumtypes-0.1a6.gh.tar.gz 6535 BLAKE2B 5441b2c89515e9c24b0ca8e5ee6294272290bc452391ca6ce5adbd5befcf2f1879859e84d011b0a5be5a3690a138e9f2e30c38c15171160556eb863d6465b4ab SHA512 1e2fbcb6fe42db4aeeadb3e45d1629027eb99786fffaed03c61056c24a760e6bcb75001e700e4a40b67647f09d0c83d200ee381f62a1483874553f59121f866a diff --git a/dev-python/sumtypes/metadata.xml b/dev-python/sumtypes/metadata.xml new file mode 100644 index 000000000000..98c7a6352e36 --- /dev/null +++ b/dev-python/sumtypes/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">radix/sumtypes</remote-id> + <remote-id type="pypi">sumtypes</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild new file mode 100644 index 000000000000..5a09078da038 --- /dev/null +++ b/dev-python/sumtypes/sumtypes-0.1_alpha6.ebuild @@ -0,0 +1,31 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +MY_P=${P/_alpha/a} +DESCRIPTION="Sum Types, aka Tagged Unions, for Python" +HOMEPAGE=" + https://github.com/radix/sumtypes/ + https://pypi.org/project/sumtypes/ +" +SRC_URI=" + https://github.com/radix/sumtypes/archive/${PV/_alpha/a}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest
