From owner-svn-ports-all@freebsd.org Sun Dec 3 16:53:48 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0038FDFFF88; Sun, 3 Dec 2017 16:53:48 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE24A7E5AE; Sun, 3 Dec 2017 16:53:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB3Grl9s060322; Sun, 3 Dec 2017 16:53:47 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB3GrkR3060318; Sun, 3 Dec 2017 16:53:46 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201712031653.vB3GrkR3060318@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 3 Dec 2017 16:53:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455411 - in head/graphics: . py-photocollage X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/graphics: . py-photocollage X-SVN-Commit-Revision: 455411 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 16:53:48 -0000 Author: yuri Date: Sun Dec 3 16:53:46 2017 New Revision: 455411 URL: https://svnweb.freebsd.org/changeset/ports/455411 Log: New port: graphics/py-photocollage: Graphical tool to make photo collage posters Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13341 Added: head/graphics/py-photocollage/ head/graphics/py-photocollage/Makefile (contents, props changed) head/graphics/py-photocollage/distinfo (contents, props changed) head/graphics/py-photocollage/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Dec 3 16:19:45 2017 (r455410) +++ head/graphics/Makefile Sun Dec 3 16:53:46 2017 (r455411) @@ -883,6 +883,7 @@ SUBDIR += py-openexr SUBDIR += py-openimageio SUBDIR += py-paint + SUBDIR += py-photocollage SUBDIR += py-pillow SUBDIR += py-pivy SUBDIR += py-plotly Added: head/graphics/py-photocollage/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-photocollage/Makefile Sun Dec 3 16:53:46 2017 (r455411) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= photocollage +DISTVERSION= 1.4.4 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Graphical tool to make photo collage posters + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>:devel/py-six@${FLAVOR} + +USES= gettext-tools python +USE_PYTHON= autoplist concurrent distutils +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e ' \ + s|${PORTNAME}|${PORTNAME}-${PYTHON_VER}| ; \ + s|^Name.*|& (python${PYTHON_VER})|' \ + ${WRKSRC}/data/${PORTNAME}.desktop + @${REINPLACE_CMD} -E 's/photocollage\.(png|svg|desktop|appdata\.xml)/photocollage-${PYTHON_VER}.\1/' ${WRKSRC}/setup.py + @${REINPLACE_CMD} -E 's/APP_NAME = "photocollage"/APP_NAME = "photocollage-${PYTHON_VER}"/' ${WRKSRC}/photocollage/__init__.py + @cd ${WRKSRC} && for f in $$(${FIND} -E . -regex '.*\.(png|svg|desktop|appdata\.xml)'); do \ + ${MV} $$f $$(${ECHO} $$f | ${SED} -E 's|photocollage\.([[:alpha:].]*)|photocollage-${PYTHON_VER}.\1|'); \ + done + +.include Added: head/graphics/py-photocollage/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-photocollage/distinfo Sun Dec 3 16:53:46 2017 (r455411) @@ -0,0 +1,3 @@ +TIMESTAMP = 1512206067 +SHA256 (photocollage-1.4.4.tar.gz) = 3606422f1c09afcf10ba2567642580ac1a0447d7de8b4a10e4d380177b563ca9 +SIZE (photocollage-1.4.4.tar.gz) = 186404 Added: head/graphics/py-photocollage/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-photocollage/pkg-descr Sun Dec 3 16:53:46 2017 (r455411) @@ -0,0 +1,7 @@ +PhotoCollage allows you to create photo collage posters. It assembles the input +photographs it is given to generate a big poster. Photos are automatically +arranged to fill the whole poster, then you can change the final layout, +dimensions, border or swap photos in the generated grid. Eventually the final +poster image can be saved in any size. + +WWW: https://github.com/adrienverge/PhotoCollage