Bug 170190 - [MAINTAINER] www/py-django_compressor: migrate to new options framework
Summary: [MAINTAINER] www/py-django_compressor: migrate to new options framework
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-26 13:00 UTC by changlp
Modified: 2012-08-14 04:52 UTC (History)
0 users

See Also:


Attachments
py27-django_compressor-1.1.2.patch (1.13 KB, patch)
2012-07-26 13:00 UTC, changlp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description changlp 2012-07-26 13:00:23 UTC
- Migrate to new options framework

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-26 13:00:41 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-26 13:00:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-26 13:00:55 UTC
Maintainer of www/py-django_compressor,

Please note that PR ports/170190 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170190

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-26 13:00:59 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 5 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-08-13 12:41:39 UTC
Responsible Changed
From-To: freebsd-python->rm

I will take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-08-14 04:42:25 UTC
Author: rm
Date: Tue Aug 14 03:42:11 2012
New Revision: 302488
URL: http://svn.freebsd.org/changeset/ports/302488

Log:
  - convert to optionsNG
  
  while here:
  - make it depend on www/py-beautifulsoup32 instead, because it is the
    something that this code is looking for
  - do not bump PORTREVISION, because this dependency is not default
  - tab -> space in pkg-descr:WWW
  
  PR:		170190
  Submitted by:	Lung-Pin Chang <changlp at cs.nctu.edu dot tw> (maintainer)

Modified:
  head/www/py-django_compressor/Makefile
  head/www/py-django_compressor/pkg-descr

Modified: head/www/py-django_compressor/Makefile
==============================================================================
--- head/www/py-django_compressor/Makefile	Tue Aug 14 00:40:29 2012	(r302487)
+++ head/www/py-django_compressor/Makefile	Tue Aug 14 03:42:11 2012	(r302488)
@@ -22,21 +22,22 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}djan
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	easy_install
 
-OPTIONS=	BEAUTIFULSOUP "Enable BeautifulSoupParser" Off \
-		LXML "Enable LxmlParser" Off \
-		HTML5LIB "Enable Html5LibParser" Off
+OPTIONS_DEFINE=	BEAUTIFULSOUP LXML HTML5LIB
+BEAUTIFULSOUP_DESC=	Enable BeautifulSoupParser
+LXML_DESC=		Enable LxmlParser
+HTML5LIB_DESC=		Enable Html5LibParser
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_BEAUTIFULSOUP)
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:${PORTSDIR}/www/py-beautifulsoup
+.if ${PORT_OPTIONS:MBEAUTIFULSOUP}
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32
 .endif
 
-.if defined(WITH_LXML)
+.if ${PORT_OPTIONS:MLXML}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml
 .endif
 
-.if defined(WITH_HTML5LIB)
+.if ${PORT_OPTIONS:MHTML5LIB}
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}html5lib>0:${PORTSDIR}/www/py-html5lib
 .endif
 

Modified: head/www/py-django_compressor/pkg-descr
==============================================================================
--- head/www/py-django_compressor/pkg-descr	Tue Aug 14 00:40:29 2012	(r302487)
+++ head/www/py-django_compressor/pkg-descr	Tue Aug 14 03:42:11 2012	(r302488)
@@ -2,4 +2,4 @@ Django Compressor combines and compresse
 inline Javascript or CSS in a Django templates into
 cacheable static files by using the compress template tag.
 
-WWW:	https://github.com/jezdez/django_compressor
+WWW: https://github.com/jezdez/django_compressor
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-08-14 04:52:37 UTC
State Changed
From-To: feedback->closed

Committed, thank you!