[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/

2022-05-30 Thread Alessandro Barbieri
commit: 80875d2c2cf230cb737b5e4c9010d87678879f5d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon May 30 13:10:20 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon May 30 13:17:13 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80875d2c

dev-python/ots-python: drop 8.1.4-r1

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/ots-python/Manifest   |  1 -
 dev-python/ots-python/ots-python-8.1.4-r1.ebuild | 30 
 2 files changed, 31 deletions(-)

diff --git a/dev-python/ots-python/Manifest b/dev-python/ots-python/Manifest
index 547ec2bc9..8634ad2ac 100644
--- a/dev-python/ots-python/Manifest
+++ b/dev-python/ots-python/Manifest
@@ -1,2 +1 @@
-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.1.4-r1.ebuild 
b/dev-python/ots-python/ots-python-8.1.4-r1.ebuild
deleted file mode 100644
index 2a66b0130..0
--- a/dev-python/ots-python/ots-python-8.1.4-r1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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}/${P}-ots-sanitize.patch" )
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"
-   mkdir -p src/c/ots || die
-   default
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/

2022-05-28 Thread Alessandro Barbieri
commit: 834086bead0aa89af8f910a801f5ef0747f8dd78
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat May 28 21:36:08 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat May 28 21:36:08 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=834086be

dev-python/ots-python: enable py3.10, py3.11

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/ots-python/ots-python-8.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/ots-python/ots-python-8.2.1.ebuild 
b/dev-python/ots-python/ots-python-8.2.1.ebuild
index daac0b3bb..10f03b4ae 100644
--- a/dev-python/ots-python/ots-python-8.2.1.ebuild
+++ b/dev-python/ots-python/ots-python-8.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/

2022-05-25 Thread Alessandro Barbieri
commit: 1acba996a9d7ccdb4cb79e2de1f830fb4e82d048
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed May 25 20:15:58 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed May 25 20:15:58 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1acba996

dev-python/ots-python: update upstream metadata

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/ots-python/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/ots-python/metadata.xml 
b/dev-python/ots-python/metadata.xml
index 5c5bb5a69..05e98ccdb 100644
--- a/dev-python/ots-python/metadata.xml
+++ b/dev-python/ots-python/metadata.xml
@@ -9,6 +9,6 @@
 
 https://github.com/googlefonts/ots-python/issues
 googlefonts/ots-python
-opentype-sanitizers
+opentype-sanitizer
 
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/

2022-03-18 Thread Alessandro Barbieri
commit: 5aacbdf29918d6b326a7eb3077edbc10d728a27a
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 18 09:15:04 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 18 09:15:04 2022 +
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  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 0..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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/

2022-03-11 Thread Alessandro Barbieri
commit: 688ad3722a850c41a624164a3a554bd4d2d73a0f
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 12 03:54:39 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Mar 12 03:54:39 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=688ad372

dev-python/ots-python: fix homepage

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/ots-python/metadata.xml  |  2 +-
 .../{ots-python-8.1.4.ebuild => ots-python-8.1.4-r1.ebuild} | 13 -
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-python/ots-python/metadata.xml 
b/dev-python/ots-python/metadata.xml
index 12937ae6e..5c5bb5a69 100644
--- a/dev-python/ots-python/metadata.xml
+++ b/dev-python/ots-python/metadata.xml
@@ -9,6 +9,6 @@
 
 https://github.com/googlefonts/ots-python/issues
 googlefonts/ots-python
-ots-python
+opentype-sanitizers
 
 

diff --git a/dev-python/ots-python/ots-python-8.1.4.ebuild 
b/dev-python/ots-python/ots-python-8.1.4-r1.ebuild
similarity index 76%
rename from dev-python/ots-python/ots-python-8.1.4.ebuild
rename to dev-python/ots-python/ots-python-8.1.4-r1.ebuild
index 42a215919..2a66b0130 100644
--- a/dev-python/ots-python/ots-python-8.1.4.ebuild
+++ b/dev-python/ots-python/ots-python-8.1.4-r1.ebuild
@@ -1,16 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{8..9} pypy3 )
 
 inherit distutils-r1
 
-SRC_URI="https://github.com/googlefonts/ots-python/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
 DESCRIPTION="A Python wrapper for OpenType Sanitizer"
-HOMEPAGE="https://github.com/googlefonts/ots-python;
+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"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/

2021-06-19 Thread Alessandro Barbieri
commit: d096255ef7b24f860d5296cb95f4165063592dab
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Jun 19 21:22:35 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Jun 19 21:53:05 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d096255e

dev-python/ots-python: improve metadata

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/ots-python/metadata.xml | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/ots-python/metadata.xml 
b/dev-python/ots-python/metadata.xml
index 6f49eba8f..2e32cef81 100644
--- a/dev-python/ots-python/metadata.xml
+++ b/dev-python/ots-python/metadata.xml
@@ -1,5 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
+
+
+https://github.com/googlefonts/ots-python/issues
+googlefonts/ots-python
+ots-python
+
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/ots-python/, dev-python/ots-python/files/

2021-06-19 Thread Alessandro Barbieri
commit: 01497dc698cf49d2169d2bddc94539581b83e1a7
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Jun 19 18:36:08 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Jun 19 21:53:04 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01497dc6

dev-python/ots-python: initial import

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/ots-python/Manifest |  1 +
 .../files/ots-python-8.1.4-ots-sanitize.patch  | 21 +
 dev-python/ots-python/metadata.xml |  5 
 dev-python/ots-python/ots-python-8.1.4.ebuild  | 27 ++
 4 files changed, 54 insertions(+)

diff --git a/dev-python/ots-python/Manifest b/dev-python/ots-python/Manifest
new file mode 100644
index 0..a2e7dd576
--- /dev/null
+++ b/dev-python/ots-python/Manifest
@@ -0,0 +1 @@
+DIST ots-python-8.1.4.tar.gz 10830 BLAKE2B 
f75e4e71c942a2214d9995184dd70505800a9a58d6238fc2321afde0efe17ee4e24906edb01f0690e12e245c5316f80fb313ae416d8a64e30c23c239c9929409
 SHA512 
466efae7d40dc24e0af22cb29d03d7c8bb5beb592c65c36a8e2d1678c141dd9b591184cbc01bc4879705a99cbf13e61c35bb51e878fdf866e82f82cbed75099d

diff --git a/dev-python/ots-python/files/ots-python-8.1.4-ots-sanitize.patch 
b/dev-python/ots-python/files/ots-python-8.1.4-ots-sanitize.patch
new file mode 100644
index 0..5eae00dbd
--- /dev/null
+++ b/dev-python/ots-python/files/ots-python-8.1.4-ots-sanitize.patch
@@ -0,0 +1,21 @@
+--- a/setup.py
 b/setup.py
+@@ -236,7 +236,6 @@
+ platforms=["posix", "nt"],
+ package_dir={"": "src/python"},
+ packages=find_packages("src/python"),
+-ext_modules=[ots_sanitize],
+ zip_safe=False,
+ cmdclass=cmdclass,
+ setup_requires=["setuptools_scm"],
+--- a/src/python/ots/__init__.py
 b/src/python/ots/__init__.py
+@@ -3,7 +3,7 @@
+ import sys
+ import os
+ 
+-OTS_SANITIZE = os.path.join(os.path.dirname(__file__), "ots-sanitize")
++OTS_SANITIZE = "ots-sanitize"
+ 
+ __all__ = ["sanitize", "OTSError", "CalledProcessError"]
+ 

diff --git a/dev-python/ots-python/metadata.xml 
b/dev-python/ots-python/metadata.xml
new file mode 100644
index 0..6f49eba8f
--- /dev/null
+++ b/dev-python/ots-python/metadata.xml
@@ -0,0 +1,5 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+

diff --git a/dev-python/ots-python/ots-python-8.1.4.ebuild 
b/dev-python/ots-python/ots-python-8.1.4.ebuild
new file mode 100644
index 0..42a215919
--- /dev/null
+++ b/dev-python/ots-python/ots-python-8.1.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} pypy3 )
+
+inherit distutils-r1
+
+SRC_URI="https://github.com/googlefonts/ots-python/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="A Python wrapper for OpenType Sanitizer"
+HOMEPAGE="https://github.com/googlefonts/ots-python;
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND=">=dev-util/ots-${PV}"
+
+PATCHES=( "${FILESDIR}/${P}-ots-sanitize.patch" )
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"
+   mkdir -p src/c/ots || die
+   default
+}