Date: Sun, 3 Dec 2017 16:53:46 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455411 - in head/graphics: . py-photocollage Message-ID: <201712031653.vB3GrkR3060318@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712031653.vB3GrkR3060318>