aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-fonttools
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-02 04:07:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-02 04:07:47 +0800
commit97603e7a86306251728a2da8a20300ba3408eaa3 (patch)
tree1729b77c77a473070b742de96ecaf945df85c7aa /print/py-fonttools
parent2c36a3eae734f9a75d3ce15f02010b26c2b05a7e (diff)
downloadfreebsd-ports-gnome-97603e7a86306251728a2da8a20300ba3408eaa3.tar.gz
freebsd-ports-gnome-97603e7a86306251728a2da8a20300ba3408eaa3.tar.zst
freebsd-ports-gnome-97603e7a86306251728a2da8a20300ba3408eaa3.zip
- Update to 2.5
- Use new MASTER_SITE and WWW: - Add NO_ARCH PR: 198056 Submitted by: freebsd@rig.rain.com
Diffstat (limited to 'print/py-fonttools')
-rw-r--r--print/py-fonttools/Makefile16
-rw-r--r--print/py-fonttools/distinfo4
-rw-r--r--print/py-fonttools/pkg-descr2
3 files changed, 11 insertions, 11 deletions
diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile
index f4b33a03d6a7..b4e09aab30cb 100644
--- a/print/py-fonttools/Makefile
+++ b/print/py-fonttools/Makefile
@@ -2,10 +2,8 @@
# $FreeBSD$
PORTNAME= fonttools
-PORTVERSION= 2.4
-PORTREVISION= 4
+PORTVERSION= 2.5
CATEGORIES= print python
-MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
@@ -14,24 +12,26 @@ COMMENT= Open source library for manipulating fonts, written in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYNUMPY} ${PYXML}
-RUN_DEPENDS= ${PYNUMPY} ${PYXML}
+BUILD_DEPENDS= ${PYXML}
+RUN_DEPENDS= ${PYXML}
-OPTIONS_DEFINE= DOCS
+USE_GITHUB= yes
+GH_ACCOUNT= behdad
USES= python
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
DOCSDIR= ${PREFIX}/share/doc/py-fonttools
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/FontTools/fontTools/misc/eexecOp.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${STAGEDIR}${DOCSDIR}
diff --git a/print/py-fonttools/distinfo b/print/py-fonttools/distinfo
index e666fbb4b931..100ff45841c5 100644
--- a/print/py-fonttools/distinfo
+++ b/print/py-fonttools/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fonttools-2.4.tar.gz) = 95e5d8a67e2dae3ea237f9bebc449e0af42f12f03683db34f617e5b15d9d4fb0
-SIZE (fonttools-2.4.tar.gz) = 348885
+SHA256 (behdad-fonttools-2.5_GH0.tar.gz) = c89603f9f3346f48f4a24f786422e935423554e0a9172dcd3ec8ffbd556d2159
+SIZE (behdad-fonttools-2.5_GH0.tar.gz) = 229374
diff --git a/print/py-fonttools/pkg-descr b/print/py-fonttools/pkg-descr
index 63bc6f1563c5..a0cef244a513 100644
--- a/print/py-fonttools/pkg-descr
+++ b/print/py-fonttools/pkg-descr
@@ -3,4 +3,4 @@ in Python. It supports reading and writing of TrueType fonts,
PostScript Type 1 fonts as well as AFM files and some MacOS-specific
formats.
-WWW: http://sourceforge.net/projects/fonttools/
+WWW: https://github.com/behdad/fonttools/