commit: 5aacbdf29918d6b326a7eb3077edbc10d728a27a
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 18 09:15:04 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 18 09:15:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5aacbdf2
dev-python/ots-python: add 8.2.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/ots-python/Manifest | 1 +
dev-python/ots-python/ots-python-8.2.1.ebuild | 30 +++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/dev-python/ots-python/Manifest b/dev-python/ots-python/Manifest
index a2e7dd576..547ec2bc9 100644
--- a/dev-python/ots-python/Manifest
+++ b/dev-python/ots-python/Manifest
@@ -1 +1,2 @@
DIST ots-python-8.1.4.tar.gz 10830 BLAKE2B
f75e4e71c942a2214d9995184dd70505800a9a58d6238fc2321afde0efe17ee4e24906edb01f0690e12e245c5316f80fb313ae416d8a64e30c23c239c9929409
SHA512
466efae7d40dc24e0af22cb29d03d7c8bb5beb592c65c36a8e2d1678c141dd9b591184cbc01bc4879705a99cbf13e61c35bb51e878fdf866e82f82cbed75099d
+DIST ots-python-8.2.1.tar.gz 10577 BLAKE2B
d642bc539b422375388cdfc94fe7541d1bee102e8292bc6186ad25764461e19974786034788ed86268e4565b3b17db22ba50fc257c1dc18d2f1289658b66f7da
SHA512
be48bb860c9a1147a79fc2819f361a500d28d6655c302110cdc9596d4be1e127f4137a13e2cebf6a600209ba5356229eb4f019bf9e993231c9ed25f96ea1a74b
diff --git a/dev-python/ots-python/ots-python-8.2.1.ebuild
b/dev-python/ots-python/ots-python-8.2.1.ebuild
new file mode 100644
index 000000000..daac0b3bb
--- /dev/null
+++ b/dev-python/ots-python/ots-python-8.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python wrapper for OpenType Sanitizer"
+HOMEPAGE="
+ https://github.com/googlefonts/ots-python
+ https://pypi.org/project/opentype-sanitizer/
+"
+SRC_URI="https://github.com/googlefonts/ots-python/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND=">=dev-util/ots-${PV}"
+
+PATCHES=( "${FILESDIR}/${PN}-8.1.4-ots-sanitize.patch" )
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"
+ mkdir -p src/c/ots || die
+ default
+}