diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-06 17:37:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-06 17:39:24 +0200 |
commit | dbb4b61d72cc93c32c7b9aa66f3c29baae327427 (patch) | |
tree | 27f0571d41999797e80fb7c389a0e06d571a1209 /dev-python | |
parent | dev-lang/python: Stabilize 3.10.11 sparc, #905811 (diff) | |
download | gentoo-dbb4b61d72cc93c32c7b9aa66f3c29baae327427.tar.gz gentoo-dbb4b61d72cc93c32c7b9aa66f3c29baae327427.tar.bz2 gentoo-dbb4b61d72cc93c32c7b9aa66f3c29baae327427.zip |
dev-python/freetype-py: New package, v2.4.0
New dependency of dev-python/reportlab.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/freetype-py/Manifest | 1 | ||||
-rw-r--r-- | dev-python/freetype-py/freetype-py-2.4.0.ebuild | 31 | ||||
-rw-r--r-- | dev-python/freetype-py/metadata.xml | 12 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/freetype-py/Manifest b/dev-python/freetype-py/Manifest new file mode 100644 index 000000000000..88af5581d48f --- /dev/null +++ b/dev-python/freetype-py/Manifest @@ -0,0 +1 @@ +DIST freetype-py-2.4.0.zip 832493 BLAKE2B f5753b2cd29aa4441cd2eed5ff421815b543826cdfb6984ad8953377f6497bcd915128a7bf5b40ceb8060257624a75e5e0262276d892139b288da424553d77c1 SHA512 f9ddde5c9a96f75df96b13f7d021916b748c625c876b4f752fe28d93c1a5ceffea514e120f3f9a98955b89bb01d9892b1c38a3cee79737c0fb61a857c055b012 diff --git a/dev-python/freetype-py/freetype-py-2.4.0.ebuild b/dev-python/freetype-py/freetype-py-2.4.0.ebuild new file mode 100644 index 000000000000..e75503aa920b --- /dev/null +++ b/dev-python/freetype-py/freetype-py-2.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( pypy3 python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="FreeType Python bindings" +HOMEPAGE=" + https://github.com/rougier/freetype-py/ + https://pypi.org/project/freetype-py/ +" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}" .zip)" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + app-arch/unzip +" + +distutils_enable_tests pytest + +python_test() { + epytest tests +} diff --git a/dev-python/freetype-py/metadata.xml b/dev-python/freetype-py/metadata.xml new file mode 100644 index 000000000000..659859f5cab6 --- /dev/null +++ b/dev-python/freetype-py/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>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">freetype-py</remote-id> + <remote-id type="github">rougier/freetype-py</remote-id> + </upstream> +</pkgmetadata> |