From nobody Mon Mar 07 18:16:07 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 393AB19F97A8; Mon, 7 Mar 2022 18:16:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KC68m10xJz3HRh; Mon, 7 Mar 2022 18:16:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646676968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=totr7pcUUm2e2ij1fjSxl181KEar444BnhTQuPf/Ze0=; b=UrccWqvrwyFnLAYaTssiPI5LDuAoZbwT7jTMMqx54OZ8WiWscrPMt3rhqr6CJ0FZDDigrX p09KZfc+T3ZcMjbAIgtgO6zgAXnKew9OYKDd4zux0lHAS4VfCCYphkZ5MwxHwqouPJHE1r tz270bgoGRuG3fvMp4RLzF/JL5xDlHobS9yjFpGFvb1aHAhbdKddqrpFM3Z35HkF6yl0c9 92Danu06ZAeOb7jtZJBowfIYLGVZAlsfoBg3PdNKxsP0dXeQDdjb2NApe75OaOZqZkim+y 0PINBWG4/yBuDA9wJoc5o/a+BWD8H/bRjJwgD/1f9TPRrW3/JrPIBxJOaZiZNg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 666D153CE; Mon, 7 Mar 2022 18:16:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 227IG7gD058639; Mon, 7 Mar 2022 18:16:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 227IG7pH058638; Mon, 7 Mar 2022 18:16:07 GMT (envelope-from git) Date: Mon, 7 Mar 2022 18:16:07 GMT Message-Id: <202203071816.227IG7pH058638@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 57a0570ffd8f - main - x11-fonts/py-cffsubr: Add py-cffsubr 0.2.9.post1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 57a0570ffd8fc91a1415248affafe00943009dbf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646676968; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=totr7pcUUm2e2ij1fjSxl181KEar444BnhTQuPf/Ze0=; b=E7qw59j/kwfn2icn5+xvkiG/aXW0z+zyeGHYjN5AyjplylM44DPc6NbHCmYKl1TKDl7H4l 1bKFMe8+AJPlUgoFaaCTRO3O0AbNWe6HCl0yY9S0OcbeYCQAujBFThs3aXDUkeeCIsM4dN KJqH/SLSO38hCyL3LLz29Ti4pILqjE9KZfA6NE+9jEY31j+dxD9lK5T4ZLtt5Y/v5/+TSA NX5nnkzvMk7Z8O+d/+czbgLuf8u0W33CGDotPU6FO2t1fy7D0nqgbZnS9R8ArQ2vAjVKZt +q90FERLSpPf7Ro//Eay4zsklWcXeFapvnU6dq8IPc3WwRru6zMwDz0JSBYWYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646676968; a=rsa-sha256; cv=none; b=i3uVeDZoImTzT34JxZUkl6oOcRfBFBJOmiUdmmg1mygV04rrJD9tUKt6hDNEKdt8+rlYzB LipQEonyXGu05+ISl3RpYujLwSpoF26S5suIcY3d8oRDqpF5gSxxRV/A8hXEcg69/0n9SP R3S+r+jMufD/ZylhUz4ToWegaZUxLVY6kZ+L8cfQQN12g1KAIw2i2udQhPS7GZkBGe9x0g AMmK7Emp77eOl5uCRt3H0nXsC2+wW+YzmZ9KqpKHc3VA0/bcW4Nn3iyZgw7B6ApxVECVSp JHK+d5bnDXMLRWQRFqzh0bh67m+lYvOfS0pgQ3lKY6mkWEDs3IFZs9BpEIjBIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=57a0570ffd8fc91a1415248affafe00943009dbf commit 57a0570ffd8fc91a1415248affafe00943009dbf Author: Po-Chuan Hsieh AuthorDate: 2022-03-07 17:47:02 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-07 18:10:53 +0000 x11-fonts/py-cffsubr: Add py-cffsubr 0.2.9.post1 Standalone CFF subroutinizer based on the AFDKO tx tool. WWW: https://github.com/adobe-type-tools/cffsubr --- x11-fonts/Makefile | 1 + x11-fonts/py-cffsubr/Makefile | 28 ++++++++++++++++++++++++++++ x11-fonts/py-cffsubr/distinfo | 3 +++ x11-fonts/py-cffsubr/files/patch-setup.py | 28 ++++++++++++++++++++++++++++ x11-fonts/py-cffsubr/pkg-descr | 3 +++ 5 files changed, 63 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 66104094926a..0855f6de2ed9 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -217,6 +217,7 @@ SUBDIR += py-babelfont SUBDIR += py-bdflib SUBDIR += py-booleanOperations + SUBDIR += py-cffsubr SUBDIR += py-compreffor SUBDIR += py-cu2qu SUBDIR += py-defcon diff --git a/x11-fonts/py-cffsubr/Makefile b/x11-fonts/py-cffsubr/Makefile new file mode 100644 index 000000000000..fbbe54a640e1 --- /dev/null +++ b/x11-fonts/py-cffsubr/Makefile @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= cffsubr +PORTVERSION= 0.2.9.post1 +CATEGORIES= x11-fonts python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Standalone CFF subroutinizer based on the AFDKO tx tool + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}afdko>=0:x11-fonts/py-afdko@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fonttools>=4.10.2:print/py-fonttools@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: +# Clean up bundled libraries + @${RM} -r ${WRKSRC}/external/ + +.include diff --git a/x11-fonts/py-cffsubr/distinfo b/x11-fonts/py-cffsubr/distinfo new file mode 100644 index 000000000000..934b510c85ca --- /dev/null +++ b/x11-fonts/py-cffsubr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1646057862 +SHA256 (cffsubr-0.2.9.post1.tar.gz) = 6b31412dcf49c8fa84664bda867e2eddc55b6fe6fa696ff253c4f13a9ff2fc5c +SIZE (cffsubr-0.2.9.post1.tar.gz) = 12671095 diff --git a/x11-fonts/py-cffsubr/files/patch-setup.py b/x11-fonts/py-cffsubr/files/patch-setup.py new file mode 100644 index 000000000000..cbbdca8803a1 --- /dev/null +++ b/x11-fonts/py-cffsubr/files/patch-setup.py @@ -0,0 +1,28 @@ +--- setup.py.orig 2021-11-25 15:57:49 UTC ++++ setup.py +@@ -107,6 +107,9 @@ elif platform.system() == "Darwin": + elif platform.system() == "Windows": + plat = "win" + compiler = "visualstudio" ++elif platform.system() == "FreeBSD": ++ plat = "freebsd" ++ compiler = "cc" + else: + raise NotImplementedError(platform.system()) + +@@ -136,7 +139,6 @@ setup( + package_dir={"": "src"}, + packages=find_packages("src"), + entry_points={"console_scripts": ["cffsubr = cffsubr.__main__:main"]}, +- ext_modules=[tx], + zip_safe=False, + cmdclass=cmdclass, + install_requires=[ +@@ -146,7 +148,6 @@ setup( + setup_requires=[ + "setuptools_scm", + # finds all git tracked files including submodules when making sdist MANIFEST +- "setuptools-git-ls-files", + ], + extras_require={"testing": ["pytest"]}, + python_requires=">=3.6", diff --git a/x11-fonts/py-cffsubr/pkg-descr b/x11-fonts/py-cffsubr/pkg-descr new file mode 100644 index 000000000000..985ffd17adb8 --- /dev/null +++ b/x11-fonts/py-cffsubr/pkg-descr @@ -0,0 +1,3 @@ +Standalone CFF subroutinizer based on the AFDKO tx tool. + +WWW: https://github.com/adobe-type-tools/cffsubr