- Update to 1.1.5

This commit is contained in:
TAKATSU Tomonari 2012-04-25 12:16:42 +00:00
parent e7829a606f
commit 3f90bd7cca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295491
3 changed files with 24 additions and 14 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= blockdiag
PORTVERSION= 1.1.4
PORTVERSION= 1.1.5
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,2 +1,2 @@
SHA256 (blockdiag-1.1.4.tar.gz) = 129aeae84ae4dacb32926ad942832ad517442703f6989b30542e2960313a7453
SIZE (blockdiag-1.1.4.tar.gz) = 132351
SHA256 (blockdiag-1.1.5.tar.gz) = 07818e570ad15eba86d54222fa6cc35851fb3470e8b522ce155fdf9ddfd7a922
SIZE (blockdiag-1.1.5.tar.gz) = 133589

View File

@ -1,21 +1,31 @@
--- src/blockdiag/utils/bootstrap.py.orig 2011-12-16 20:04:27.000000000 +0900
+++ src/blockdiag/utils/bootstrap.py 2011-12-29 11:15:27.000000000 +0900
@@ -170,13 +170,7 @@
--- src/blockdiag/utils/bootstrap.py.orig 2012-04-18 11:00:23.000000000 +0900
+++ src/blockdiag/utils/bootstrap.py 2012-04-23 11:34:13.000000000 +0900
@@ -182,23 +182,7 @@
def detectfont(options):
- fonts = ['c:/windows/fonts/VL-Gothic-Regular.ttf', # for Windows
- 'c:/windows/fonts/msgothic.ttf', # for Windows
- 'c:/windows/fonts/msgoth04.ttc', # for Windows
- '/usr/share/fonts/truetype/ipafont/ipagp.ttf', # for Debian
- '/usr/local/share/font-ipa/ipagp.otf', # for FreeBSD
- '/Library/Fonts/Hiragino Sans GB W3.otf', # for MacOS
- '/System/Library/Fonts/AppleGothic.ttf'] # for MacOS
- fonts = [
- # for Windows
- 'c:/windows/fonts/VL-Gothic-Regular.ttf',
- 'c:/windows/fonts/msgothic.ttf',
- 'c:/windows/fonts/msgoth04.ttc',
- # for Debian (squeeze)
- '/usr/share/fonts/truetype/ipafont/ipagp.ttf',
- '/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf',
- # for Debian (wheezy)
- '/usr/share/fonts/opentype/ipafont-gothic/ipagp.ttf',
- '/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf',
- # for MacOS
- '/Library/Fonts/Hiragino Sans GB W3.otf', # for MacOS
- '/System/Library/Fonts/AppleGothic.ttf', # for MacOS
- # for FreeBSD
- '/usr/local/share/font-ipa/ipagp.otf', # for FreeBSD
- ]
+ ipafontpath = '%%LOCALBASE%%/share/font-ipa/ipagp.otf'
fontpath = None
if options.font:
@@ -190,11 +184,8 @@
@@ -212,11 +196,8 @@
raise RuntimeError(msg)
if fontpath is None: