diff --git a/print/Makefile b/print/Makefile index 7a06889f0f29..b29cdf29114b 100644 --- a/print/Makefile +++ b/print/Makefile @@ -1,268 +1,269 @@ COMMENT = Desktop publishing SUBDIR += R-cran-knitr SUBDIR += R-cran-tinytex SUBDIR += a2pdf SUBDIR += a2ps SUBDIR += abcm2ps SUBDIR += adobe-cmaps SUBDIR += afm SUBDIR += alignmargins SUBDIR += ansiprint SUBDIR += asprint SUBDIR += auctex SUBDIR += bibcursed SUBDIR += bibview SUBDIR += brlaser SUBDIR += c2ps SUBDIR += catdvi SUBDIR += cdlabelgen SUBDIR += cups SUBDIR += cups-bjnp SUBDIR += cups-filters SUBDIR += cups-fxlinuxprint SUBDIR += cups-pdf SUBDIR += cups-pk-helper SUBDIR += cups-smb-backend SUBDIR += deforaos-pdfviewer SUBDIR += derelict-ft SUBDIR += detex SUBDIR += dot2tex SUBDIR += dvi2tty SUBDIR += dvips2ascii SUBDIR += dvisvg SUBDIR += dymo-cups-drivers SUBDIR += easylatex SUBDIR += enscript-a4 SUBDIR += enscript-letter SUBDIR += enscript-letterdj SUBDIR += epson-inkjet-printer-201401w SUBDIR += epson-inkjet-printer-201601w SUBDIR += epson-inkjet-printer-escpr SUBDIR += epson-inkjet-printer-escpr2 SUBDIR += epsonepl SUBDIR += fig2dev SUBDIR += flpsed SUBDIR += font-amsfonts SUBDIR += font2svg SUBDIR += fontforge SUBDIR += foo2zjs SUBDIR += foomatic-db SUBDIR += foomatic-db-engine SUBDIR += foomatic-db-hpijs SUBDIR += foomatic-filters SUBDIR += fpc-libcups SUBDIR += fpdf SUBDIR += freetype SUBDIR += freetype2 SUBDIR += ft2demos SUBDIR += ghostscript7-base SUBDIR += ghostscript7-commfont SUBDIR += ghostscript7-jpnfont SUBDIR += ghostscript7-korfont SUBDIR += ghostscript7-x11 SUBDIR += ghostscript8-base SUBDIR += ghostscript8-x11 SUBDIR += ghostscript9-agpl-base SUBDIR += ghostscript9-agpl-x11 SUBDIR += ghostscript9-base SUBDIR += ghostscript9-x11 SUBDIR += gimp-gutenprint SUBDIR += gl2ps SUBDIR += gsfonts SUBDIR += gspdf SUBDIR += gtklp SUBDIR += gutenprint SUBDIR += gv SUBDIR += harfbuzz SUBDIR += harfbuzz-hb-view SUBDIR += harfbuzz-icu SUBDIR += hp2xx SUBDIR += hplip SUBDIR += hplip-plugin SUBDIR += hs-hscolour SUBDIR += html2latex SUBDIR += html2ps SUBDIR += hyperlatex SUBDIR += indexinfo SUBDIR += kde_poster SUBDIR += latex-beamer SUBDIR += latex-biber SUBDIR += latex-ltablex SUBDIR += latex-resume SUBDIR += latex2rtf SUBDIR += latexdiff SUBDIR += lgrind SUBDIR += libharu SUBDIR += libijs SUBDIR += libmspub01 SUBDIR += libotf SUBDIR += libpagemaker SUBDIR += libpaper SUBDIR += libraqm SUBDIR += libspectre SUBDIR += lilypond SUBDIR += lilypond-devel SUBDIR += limereport SUBDIR += linux-c7-cups-libs SUBDIR += linux-c7-freetype SUBDIR += linux-c7-harfbuzz SUBDIR += linux-jabref SUBDIR += lout SUBDIR += lprps SUBDIR += lyx SUBDIR += magicfilter SUBDIR += makeindex SUBDIR += mftrace SUBDIR += miktex SUBDIR += min12xxw SUBDIR += mp-a4 SUBDIR += mp-letter SUBDIR += mpage SUBDIR += muttprint SUBDIR += nenscript SUBDIR += okc321 SUBDIR += openprinting SUBDIR += p5-Font-FreeType SUBDIR += p5-Net-CUPS SUBDIR += p5-Net-Printer SUBDIR += p5-PDF-Template SUBDIR += p5-PDFLib SUBDIR += p5-PostScript SUBDIR += p5-PostScript-PPD SUBDIR += p5-PostScript-Simple SUBDIR += p5-Text-PDF SUBDIR += p5-XML-ApacheFOP SUBDIR += p5-XML-Handler-AxPoint SUBDIR += p910nd SUBDIR += panda SUBDIR += papersize-default-a4 SUBDIR += papersize-default-letter SUBDIR += paps SUBDIR += pcal SUBDIR += pdf-redact-tools SUBDIR += pdf-renderer SUBDIR += pdf-tools SUBDIR += pdf4tcl SUBDIR += pdfarranger SUBDIR += pdfbox SUBDIR += pdfchain SUBDIR += pdflib SUBDIR += pdflib-perl SUBDIR += pdfstitch SUBDIR += pdftk SUBDIR += pear-File_PDF SUBDIR += pecl-pdflib SUBDIR += pfbtopfa SUBDIR += photoprint SUBDIR += pic2fig SUBDIR += pkfonts118 SUBDIR += pkfonts240 SUBDIR += pkfonts300 SUBDIR += pkfonts360 SUBDIR += pkfonts400 SUBDIR += pkfonts600 SUBDIR += pnm2ppa SUBDIR += posterazor SUBDIR += print-manager SUBDIR += ps2eps SUBDIR += pscal SUBDIR += psdim SUBDIR += pslib SUBDIR += pstotext SUBDIR += psutils SUBDIR += py-collidoscope SUBDIR += py-dehinter SUBDIR += py-font-v SUBDIR += py-fontaine SUBDIR += py-fontbakery SUBDIR += py-fontparts SUBDIR += py-fontpens SUBDIR += py-fonttools SUBDIR += py-fpdf SUBDIR += py-frescobaldi + SUBDIR += py-glyphsets SUBDIR += py-glyphtools SUBDIR += py-pdf SUBDIR += py-pdf2 SUBDIR += py-pollyreports SUBDIR += py-preppy SUBDIR += py-psautohint SUBDIR += py-pycups SUBDIR += py-python-ly SUBDIR += py-relatorio SUBDIR += py-reportlab SUBDIR += py-rtf SUBDIR += py-ttfautohint-py SUBDIR += py-ufolib2 SUBDIR += py-uharfbuzz SUBDIR += py-vharfbuzz SUBDIR += py-weasyprint SUBDIR += qpdf SUBDIR += qpdfview SUBDIR += qt5-printsupport SUBDIR += rlpr SUBDIR += rtf2latex2e SUBDIR += rubygem-afm SUBDIR += rubygem-color SUBDIR += rubygem-color-tools SUBDIR += rubygem-pdf-core SUBDIR += rubygem-pdf-reader SUBDIR += rubygem-pdf-writer SUBDIR += rubygem-prawn SUBDIR += rubygem-prawn-core SUBDIR += rubygem-prawn-flexible-table SUBDIR += rubygem-prawn-format SUBDIR += rubygem-prawn-graph SUBDIR += rubygem-prawn-icon SUBDIR += rubygem-prawn-js SUBDIR += rubygem-prawn-layout SUBDIR += rubygem-prawn-security SUBDIR += rubygem-prawn-svg SUBDIR += rubygem-prawn-table SUBDIR += rubygem-prawn-templates SUBDIR += rubygem-prawn_shapes SUBDIR += rubygem-rbpdf SUBDIR += rubygem-rbpdf-font SUBDIR += rubygem-ttfunk SUBDIR += scribus-devel SUBDIR += sgf2tex SUBDIR += shrinkpdf SUBDIR += simple-fb2-reader SUBDIR += splix SUBDIR += system-config-printer SUBDIR += t1utils SUBDIR += tex-aleph SUBDIR += tex-basic-engines SUBDIR += tex-dvipdfmx SUBDIR += tex-dvipsk SUBDIR += tex-formats SUBDIR += tex-jadetex SUBDIR += tex-luatex SUBDIR += tex-ptexenc SUBDIR += tex-xdvik SUBDIR += tex-xetex SUBDIR += tex-xmltex SUBDIR += texinfo SUBDIR += texlive-base SUBDIR += texlive-docs SUBDIR += texlive-full SUBDIR += texlive-texmf SUBDIR += texlive-texmf-source SUBDIR += texlive-tlmgr SUBDIR += texvc SUBDIR += tgif2tex SUBDIR += transfig SUBDIR += trueprint SUBDIR += ttf2pt1 SUBDIR += ttfautohint SUBDIR += ttftot42 SUBDIR += txtbdf2ps SUBDIR += typetools SUBDIR += utopia SUBDIR += xmbibtex SUBDIR += xpdfopen SUBDIR += xreader SUBDIR += xtexsh SUBDIR += yatex .include diff --git a/print/py-glyphsets/Makefile b/print/py-glyphsets/Makefile new file mode 100644 index 000000000000..d400293413eb --- /dev/null +++ b/print/py-glyphsets/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= glyphsets +PORTVERSION= 0.2.1 +DISTVERSIONPREFIX= v +CATEGORIES= print python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python API for evaluating coverage of glyph sets in font projects + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +GH_ACCOUNT= googlefonts +USE_GITHUB= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py + +.include diff --git a/print/py-glyphsets/distinfo b/print/py-glyphsets/distinfo new file mode 100644 index 000000000000..8ad4359a2074 --- /dev/null +++ b/print/py-glyphsets/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1643382486 +SHA256 (googlefonts-glyphsets-v0.2.1_GH0.tar.gz) = dab3c915f1137eb5a16ea22b679b9e1408d1184134946b1905d90268fe46fe82 +SIZE (googlefonts-glyphsets-v0.2.1_GH0.tar.gz) = 1265612 diff --git a/print/py-glyphsets/files/patch-setup.py b/print/py-glyphsets/files/patch-setup.py new file mode 100644 index 000000000000..dfecdc954a3b --- /dev/null +++ b/print/py-glyphsets/files/patch-setup.py @@ -0,0 +1,20 @@ +--- setup.py.orig 2021-12-17 07:16:14 UTC ++++ setup.py +@@ -24,7 +24,7 @@ with open('README.md') as f: + + setup( + name="glyphsets", +- use_scm_version={"write_to": "Lib/glyphsets/_version.py"}, ++ use_scm_version={"fallback_version": "%%PORTVERSION%%", "write_to": "Lib/glyphsets/_version.py"}, + url='https://github.com/googlefonts/glyphsets/', + description='A python API for evaluating coverage of glyph sets in font projects.', + long_description=long_description, +@@ -52,7 +52,7 @@ setup( + 'Programming Language :: Python :: 3' + ], + python_requires=">=3.7", +- setup_requires=['setuptools_scm>=4,<6.1'], ++ setup_requires=['setuptools_scm>=4'], + install_requires=[ + 'setuptools', + 'FontTools[ufo]', diff --git a/print/py-glyphsets/pkg-descr b/print/py-glyphsets/pkg-descr new file mode 100644 index 000000000000..95dcb19d7041 --- /dev/null +++ b/print/py-glyphsets/pkg-descr @@ -0,0 +1,12 @@ +glyphsets helps evaluate coverage of glyph sets in font projects + +If you are a font developer or typeface designer, see the +"Lib/glyphsets/encodings/GF Glyph Sets" subdirectory which provides glyph set +definition "standards" that are typically useful sets to draw. + +On the other hand, the nam files on the "Lib/glyphsets/encodings" directory are +probably more useful for expert web developers. Those files explain how the +Unicode Range subsets are defined, typically per script (writing system), in the +Google Fonts css API. + +WWW: https://github.com/googlefonts/glyphsets