diff options
Diffstat (limited to 'dev-python/fleep')
| -rw-r--r-- | dev-python/fleep/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fleep/fleep-1.0.1-r1.ebuild | 36 | ||||
| -rw-r--r-- | dev-python/fleep/fleep-9999.ebuild | 36 | ||||
| -rw-r--r-- | dev-python/fleep/metadata.xml | 13 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/fleep/Manifest b/dev-python/fleep/Manifest new file mode 100644 index 000000000000..0b83e6b83383 --- /dev/null +++ b/dev-python/fleep/Manifest @@ -0,0 +1 @@ +DIST fleep-1.0.1.gh.tar.gz 197438 BLAKE2B cf099a941d63443a9ee314727966ae95e143acc2f33f7760fe34772d4a2d371af534c029ad207b7727d34e7472c9396b3fc1e9c82066d98ae248dd4f7bd430d7 SHA512 ea287b9cec0f88f378b6c2f248938417e7e51b004a03bb4421611f9cbdae7b97cf1c02b5096c491df934922d906812daadab02d46ae49e64dc2a2a880ab4d87e diff --git a/dev-python/fleep/fleep-1.0.1-r1.ebuild b/dev-python/fleep/fleep-1.0.1-r1.ebuild new file mode 100644 index 000000000000..19bfe4251653 --- /dev/null +++ b/dev-python/fleep/fleep-1.0.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/ua-nick/fleep-py.git" + inherit git-r3 +else + # upstream aren't tagging the releases, just as commit title + COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" + SRC_URI="https://github.com/ua-nick/fleep-py/archive/${COMMIT}.tar.gz + -> ${P}.gh.tar.gz" + S="${WORKDIR}/fleep-py-${COMMIT}" + + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +DESCRIPTION="File format determination library for Python" +HOMEPAGE=" + https://github.com/ua-nick/fleep-py/ + https://pypi.org/project/fleep/ +" + +LICENSE="MIT" +SLOT="0" + +python_test() { + cd tests || die + "${EPYTHON}" maintest.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/fleep/fleep-9999.ebuild b/dev-python/fleep/fleep-9999.ebuild new file mode 100644 index 000000000000..5cee46b20f2c --- /dev/null +++ b/dev-python/fleep/fleep-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/ua-nick/fleep-py.git" + inherit git-r3 +else + # upstream aren't tagging the releases, just as commit title + COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" + SRC_URI="https://github.com/ua-nick/fleep-py/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/fleep-py-${COMMIT}" + + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="File format determination library for Python" +HOMEPAGE=" + https://github.com/ua-nick/fleep-py/ + https://pypi.org/project/fleep/ +" + +LICENSE="MIT" +SLOT="0" + +python_test() { + cd tests || die + "${EPYTHON}" maintest.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/fleep/metadata.xml b/dev-python/fleep/metadata.xml new file mode 100644 index 000000000000..e3f01df53590 --- /dev/null +++ b/dev-python/fleep/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
