diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-28 04:35:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-28 04:35:59 +0100 |
commit | 2130804eda00268ce2a34eb936167bcfeb4281a0 (patch) | |
tree | eea3135d689247ef9c9f3afafb362d0e26f9ed1d /dev-python/irctokens | |
parent | ebac931cc23ca55abe982e67b9a4f06f748d0bef (diff) |
gentoo auto-resync : 28:07:2023 - 04:35:59
Diffstat (limited to 'dev-python/irctokens')
-rw-r--r-- | dev-python/irctokens/Manifest | 4 | ||||
-rw-r--r-- | dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch | 11 | ||||
-rw-r--r-- | dev-python/irctokens/irctokens-2.0.2.ebuild | 30 | ||||
-rw-r--r-- | dev-python/irctokens/metadata.xml | 17 |
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/irctokens/Manifest b/dev-python/irctokens/Manifest new file mode 100644 index 000000000000..03a5ac78e2fe --- /dev/null +++ b/dev-python/irctokens/Manifest @@ -0,0 +1,4 @@ +AUX irctokens-2.0.2-exclude-tests.patch 430 BLAKE2B 215fb25dd76e3e112c39afcfdf356040299b36e183169dbdfbd3805a004a1de4f5466c9adf4298c8eb13f2f71c8698f93fdca9a3a4d3fdbb282e14d0d64945ee SHA512 1bdd9d060b83e963f74b8e8d3ea03323df532309576e722e6f09f033051dd4b5620b16e5279f9573bbf0afd15a75305418379feeb5aec17501865859e1dd13de +DIST irctokens-2.0.2.gh.tar.gz 10409 BLAKE2B ce52fdf7aec203c962429ff7f2cbbab8a1173f5813abf410df7487cbe270483a96e91bab2e7f7d9aeec7c93a8f15b9b0e054d18d8db7ef1c22404eaeb70c7530 SHA512 09be87e1c3f3d34383fc59e7ef6ac955de2fd09e0a888c685475b7fb93749fa019c383ae24e4e60c697e08d6ade635666feb96db5b6b5f35fb3d75d6d60cd571 +EBUILD irctokens-2.0.2.ebuild 611 BLAKE2B 2bbe57c6342963e1764a79cc133676b31cd0ec0337ee020209922cda414512a214bb6372696d17b60c7302e7512f44146c79cd5d413a94e609ecbad596670b1e SHA512 fdf6179a45bc9573bcc10e6aa6edf50c7384a46329f7c425d7992cfa9c9b12c676ff3e93d075f48a28075327dd134228aa3c15413551412b6b267a400830c3ca +MISC metadata.xml 493 BLAKE2B 0a33e3c02fefe292af50b3edce9b513689641466a173757bd17e9f63b6f5832cbf08663b0a2b8e5572861cc988169a81509dc1a0b368d3ce0c1273eb15c6f74d SHA512 6662ae60ff892fd2077406f490bb14a3ea762536c34999763a9973b9e9627e0a25e888b2eb71f138dc27f4963387c750a5fe442f646867477c82b6bf465bdbd1 diff --git a/dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch b/dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch new file mode 100644 index 000000000000..be93c6d0a03a --- /dev/null +++ b/dev-python/irctokens/files/irctokens-2.0.2-exclude-tests.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -14,7 +14,7 @@ setuptools.setup( + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/jesopo/irctokens", +- packages=setuptools.find_packages(), ++ packages=setuptools.find_packages(exclude=["test", "test.*"]), + package_data={"irctokens": ["py.typed"]}, + classifiers=[ + "Programming Language :: Python :: 3", diff --git a/dev-python/irctokens/irctokens-2.0.2.ebuild b/dev-python/irctokens/irctokens-2.0.2.ebuild new file mode 100644 index 000000000000..59b18fb4be10 --- /dev/null +++ b/dev-python/irctokens/irctokens-2.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="RFC1459 and IRCv3 protocol tokeniser library" +HOMEPAGE=" + https://github.com/jesopo/irctokens + https://pypi.org/project/irctokens/ +" +# sdist is broken (missing VERSION) +SRC_URI=" + https://github.com/jesopo/irctokens/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.2-exclude-tests.patch +) + +distutils_enable_tests unittest diff --git a/dev-python/irctokens/metadata.xml b/dev-python/irctokens/metadata.xml new file mode 100644 index 000000000000..948ec2ee0303 --- /dev/null +++ b/dev-python/irctokens/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">irctokens</remote-id> + <remote-id type="github">jesopo/irctokens</remote-id> + </upstream> +</pkgmetadata> |