New port, generates image thumbnails, can be integrated into Django.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-python->miwi I'll take it.
State Changed From-To: open->feedback Your port don't respect NOPORTEXAMPLES and NOPORTDOCS. Please fix it and submit a followup to this PR. Look at the Porters Handbook for instructions. http://32bit.miwibox.org/index.php?action=describe_port&id=2613 http://64bit.miwibox.org/index.php?action=describe_port&id=2617 thx
Aah, I think I see what I did wrong. This looks to fix it: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/graphics/py-sorl-thumbnail # /usr/ports/graphics/py-sorl-thumbnail/Makefile # /usr/ports/graphics/py-sorl-thumbnail/pkg-descr # /usr/ports/graphics/py-sorl-thumbnail/distinfo # /usr/ports/graphics/py-sorl-thumbnail/pkg-plist # echo c - /usr/ports/graphics/py-sorl-thumbnail mkdir -p /usr/ports/graphics/py-sorl-thumbnail > /dev/null 2>&1 echo x - /usr/ports/graphics/py-sorl-thumbnail/Makefile sed 's/^X//' >/usr/ports/graphics/py-sorl-thumbnail/Makefile << 'f838df724f15d5a3261cfe7e483f7af3' X# New ports collection makefile for: py-sorl-thumbnail X# Date created: 24 November 2009 X# Whom: Kevin Golding <ports@caomhin.org> X# X# $FreeBSD$ X# X XPORTNAME= sorl-thumbnail XPORTVERSION= 3.2.5 XCATEGORIES= graphics python XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= ports@caomhin.org XCOMMENT= The sorl-thumbnail package provides an easy way to generate image thumbnails. X XRUN_DEPENDS= ${LOCALBASE}/bin/pildriver.py:${PORTSDIR}/graphics/py-imaging X XUSE_PYTHON= 2.4+ XUSE_PYDISTUTILS= yes X XDOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} X XOPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options XOPTIONS= DJANGO "Enable Django" On \ X PDF "Enable PDF Thumbnails" Off \ X WORD "Enable Word Document thumbnail handling" Off \ X DOCS "Install HTML documentation (requires Sphinx)" Off X X.include <bsd.port.options.mk> X X.if !defined(WITHOUT_DJANGO) XRUN_DEPENDS+= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django X.endif X X.if defined(WITH_PDF) XRUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick X.endif X X.if defined(WITH_WORD) XRUN_DEPENDS+= wvVersion:${PORTSDIR}/textproc/wv X.endif X X.if defined(WITH_DOCS) XBUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx XPORTDOCS= * X.endif X Xpost-build: X.if defined(WITH_DOCS) X cd ${WRKSRC}/docs && ${MAKE} html X.endif X Xpost-install: X.if defined(WITH_DOCS) X ${MKDIR} ${DOCSDIR} X ${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR} X.endif X X.include <bsd.port.mk> f838df724f15d5a3261cfe7e483f7af3 echo x - /usr/ports/graphics/py-sorl-thumbnail/pkg-descr sed 's/^X//' >/usr/ports/graphics/py-sorl-thumbnail/pkg-descr << '33a3c4716a1569450eb5be2607f8d69b' XThe sorl-thumbnail package provides an easy way to generate image thumbnails. XAlthough not required to use, sorl-thumbnail is heavily integrated with the XDjango framework. X XWWW: http://code.google.com/p/sorl-thumbnail/ 33a3c4716a1569450eb5be2607f8d69b echo x - /usr/ports/graphics/py-sorl-thumbnail/distinfo sed 's/^X//' >/usr/ports/graphics/py-sorl-thumbnail/distinfo << '1334c9c3cfee33a7ff1ee83fe61479b6' XMD5 (sorl-thumbnail-3.2.5.tar.gz) = f4e2add215fa66db554cc882e7e526ae XSHA256 (sorl-thumbnail-3.2.5.tar.gz) = f7135ac44cb8ae9e0f5bb0376cc66858499f1d3d93875437d50cf0cae65b47eb XSIZE (sorl-thumbnail-3.2.5.tar.gz) = 30655 1334c9c3cfee33a7ff1ee83fe61479b6 echo x - /usr/ports/graphics/py-sorl-thumbnail/pkg-plist sed 's/^X//' >/usr/ports/graphics/py-sorl-thumbnail/pkg-plist << 'b7401a2dc0b1ef541c2c0c814c1380aa' X%%PYTHON_SITELIBDIR%%/sorl/__init__.py X%%PYTHON_SITELIBDIR%%/sorl/__init__.pyc X%%PYTHON_SITELIBDIR%%/sorl/__init__.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/__init__.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/__init__.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/__init__.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/base.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/base.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/base.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/defaults.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/defaults.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/defaults.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/fields.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/fields.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/fields.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/main.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/main.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/main.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/__init__.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/__init__.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/__init__.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands/__init__.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands/__init__.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands/__init__.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands/thumbnail_cleanup.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands/thumbnail_cleanup.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands/thumbnail_cleanup.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/models.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/models.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/models.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/processors.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/processors.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/processors.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags/__init__.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags/__init__.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags/__init__.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags/thumbnail.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags/thumbnail.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags/thumbnail.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/__init__.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/__init__.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/__init__.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/base.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/base.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/base.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/classes.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/classes.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/classes.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/fields.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/fields.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/fields.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/templatetags.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/templatetags.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/templatetags.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/utils.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/utils.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests/utils.pyo X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/utils.py X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/utils.pyc X%%PYTHON_SITELIBDIR%%/sorl/thumbnail/utils.pyo X@dirrm %%PYTHON_SITELIBDIR%%/sorl/thumbnail/management/commands X@dirrm %%PYTHON_SITELIBDIR%%/sorl/thumbnail/management X@dirrm %%PYTHON_SITELIBDIR%%/sorl/thumbnail/templatetags X@dirrm %%PYTHON_SITELIBDIR%%/sorl/thumbnail/tests X@dirrm %%PYTHON_SITELIBDIR%%/sorl/thumbnail X@dirrm %%PYTHON_SITELIBDIR%%/sorl b7401a2dc0b1ef541c2c0c814c1380aa exit
State Changed From-To: feedback->closed New port added. Thanks!
miwi 2009-12-13 00:28:47 UTC FreeBSD ports repository Modified files: graphics Makefile Added files: graphics/py-sorl-thumbnail Makefile distinfo pkg-descr pkg-plist Log: The sorl-thumbnail package provides an easy way to generate image thumbnails. Although not required to use, sorl-thumbnail is heavily integrated with the Django framework. WWW: http://code.google.com/p/sorl-thumbnail/ PR: ports/140824 Submitted by: Kevin Golding <ports at caomhin.org> Revision Changes Path 1.1297 +1 -0 ports/graphics/Makefile 1.1 +60 -0 ports/graphics/py-sorl-thumbnail/Makefile (new) 1.1 +3 -0 ports/graphics/py-sorl-thumbnail/distinfo (new) 1.1 +6 -0 ports/graphics/py-sorl-thumbnail/pkg-descr (new) 1.1 +66 -0 ports/graphics/py-sorl-thumbnail/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"