From nobody Fri Dec 30 09:07:58 2022 X-Original-To: dev-commits-ports-all@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 4Njztl2Tgcz2kbxZ; Fri, 30 Dec 2022 09:07:59 +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 4Njztk74lTz3qkM; Fri, 30 Dec 2022 09:07:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391279; 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=O4WWzN5arP7nxQTltrVA9KCxJjOblZBwJCNPAWEHtnE=; b=lEGOo2cVG3b2nYq7enYtaswoqR+KkD4J3EzyYNHDvFB28uhsACTb+TDKv4DUtBYAHpAWka 8ntDYt4XsMdpeUOtrqh7ZK88DK2X8qlJ2+78gspa4N6efmCAjbAZSO9u+kEfH/ruw83doE ro4VfE9nJIOBEQKn5xO2jVdDwVCM6FIPH1tFb5C/JkW5qTIPs6ISr5WRjDR3teXuaey8Zk goUtJWZywaMeJSvLk9jQYzhdm44A3aJ402sMEAVwoVMiLfrQz0vgwg5RsFaGPYUG46QDXy Cd0zZq7p/X76+375/fB/w3MIdhODVPUpWPe9+FEgiGsfdLLv3+pWZyFyNGMHBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391279; 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=O4WWzN5arP7nxQTltrVA9KCxJjOblZBwJCNPAWEHtnE=; b=CXlBkQlUL0J3JUiufyG9KSC1yMo0qBbhydPX58fY7OFZYXRf6G2cPKWdJT4Mat20lPw9Uj u5Ioj4NdB/GRllPVCi7iRYrpmBehJ8L5TxWLKL4c6Xa1CrnFdxcDqPojA0JgDfChlsZscf Yay1GrI5vFArOL6PO8IMRitpn+r5j1+w2jfHh0Sug+Ga3+ocC8CH72LkTAx+bIfQxqwjR0 pY83zcgav8lKTmRynMrUSdIjBlYY7XOjoZw5qxaV47NKRWZ+82HmXeeHYl77UD+dTEYJbc uYWReL5kNYjspVS7ULjmAzolhE1Yj0/1a7+gSfq69mJyp9qbHzom2y/oltoi0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672391279; a=rsa-sha256; cv=none; b=XGQq3aI///SSn+9Dw6dNsQIunQaULlodJMAztEHaTEC5XX/hfsn8UL6gf3N9T0iB95dstH cbEe+F3gZPo//DbjXvRUBiDAKTNiZALQydDemQirW4k/M6B+2+MpUb+DxdhVeqteYnv04K 3T3RjMiYx0L4rlJXLX95grdGkI0Z9Qj7hfBym9UqtPI8HCT9ZAHigbTTM7zFVyMp7zCJFl K7s4qEC//aPaMjd+0pNEDl0x3xFC+6RvOj4OEWDktaA+fi18MtIID9oPmQlG8LN9Lpbs0w 4Uelbz5KgKAsvfM/yURj2D9d97meiV9QPiUWdCEiBdmni/M4gtvw3WXx7L6iTw== 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 4Njztk4kBdz12pT; Fri, 30 Dec 2022 09:07:58 +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 2BU97wA9099251; Fri, 30 Dec 2022 09:07:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU97wR0099250; Fri, 30 Dec 2022 09:07:58 GMT (envelope-from git) Date: Fri, 30 Dec 2022 09:07:58 GMT Message-Id: <202212300907.2BU97wR0099250@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: 5400271f1c6e - main - x11-fonts/py-fontfeatures: Add py-fontfeatures 1.7.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 5400271f1c6e2a76e5b1b073feb2f6db4d8fe76a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5400271f1c6e2a76e5b1b073feb2f6db4d8fe76a commit 5400271f1c6e2a76e5b1b073feb2f6db4d8fe76a Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 08:36:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 09:04:01 +0000 x11-fonts/py-fontfeatures: Add py-fontfeatures 1.7.3 OpenType fonts are "programmed" using features, which are normally authored in Adobe's feature file format. This like source code to a computer program: it's a user-friendly, but computer-unfriendly, way to represent the features. Inside a font, the features are compiled in an efficient internal format. This is like the binary of a computer program: computers can use it, but they can't do else anything with it, and people can't read it. The purpose of this library is to provide a middle ground for representing features in a machine-manipulable format, kind of like the abstract syntax tree of a computer programmer. This is so that: - features can be represented in a structured human-readable and machine-readable way, analogous to the XML files of the Unified Font Object format. - features can be more directly authored by programs (such as font editors), rather than them having to output AFDKO feature file format. - features can be easily manipulated by programs - for example, features from two files merged together, or lookups moved between languages. --- x11-fonts/Makefile | 1 + x11-fonts/py-fontfeatures/Makefile | 26 ++++++++++++++++++++++++++ x11-fonts/py-fontfeatures/distinfo | 3 +++ x11-fonts/py-fontfeatures/pkg-descr | 18 ++++++++++++++++++ 4 files changed, 48 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 893180e9158b..ef74a971bd21 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -235,6 +235,7 @@ SUBDIR += py-cu2qu SUBDIR += py-defcon SUBDIR += py-fontMath + SUBDIR += py-fontfeatures SUBDIR += py-fontmake SUBDIR += py-gflanguages SUBDIR += py-glyphsLib diff --git a/x11-fonts/py-fontfeatures/Makefile b/x11-fonts/py-fontfeatures/Makefile new file mode 100644 index 000000000000..e6ed3b0ff84a --- /dev/null +++ b/x11-fonts/py-fontfeatures/Makefile @@ -0,0 +1,26 @@ +PORTNAME= fontfeatures +PORTVERSION= 1.7.3 +CATEGORIES= x11-fonts python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= fontFeatures-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python library for manipulating OpenType font features +WWW= https://github.com/simoncozens/fontFeatures + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beziers>=0.1.0:graphics/py-beziers@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fonttools>=4.28.0:print/py-fonttools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fs2>=0:devel/py-fs2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}glyphtools>=0.7.0:print/py-glyphtools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/x11-fonts/py-fontfeatures/distinfo b/x11-fonts/py-fontfeatures/distinfo new file mode 100644 index 000000000000..976409a4f3dd --- /dev/null +++ b/x11-fonts/py-fontfeatures/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669057519 +SHA256 (fontFeatures-1.7.3.tar.gz) = cb3a4526a8b3ceae5a104b7ac046434e39bc989c39160a554d434d4df65ab269 +SIZE (fontFeatures-1.7.3.tar.gz) = 1235730 diff --git a/x11-fonts/py-fontfeatures/pkg-descr b/x11-fonts/py-fontfeatures/pkg-descr new file mode 100644 index 000000000000..f07374c63932 --- /dev/null +++ b/x11-fonts/py-fontfeatures/pkg-descr @@ -0,0 +1,18 @@ +OpenType fonts are "programmed" using features, which are normally authored in +Adobe's feature file format. This like source code to a computer program: it's a +user-friendly, but computer-unfriendly, way to represent the features. + +Inside a font, the features are compiled in an efficient internal format. This +is like the binary of a computer program: computers can use it, but they can't +do else anything with it, and people can't read it. + +The purpose of this library is to provide a middle ground for representing +features in a machine-manipulable format, kind of like the abstract syntax tree +of a computer programmer. This is so that: +- features can be represented in a structured human-readable and + machine-readable way, analogous to the XML files of the Unified Font Object + format. +- features can be more directly authored by programs (such as font editors), + rather than them having to output AFDKO feature file format. +- features can be easily manipulated by programs - for example, features from + two files merged together, or lookups moved between languages.