Bug 188528 - [PATCH] devel/py-pathtools: staging
Summary: [PATCH] devel/py-pathtools: staging
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: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-12 21:10 UTC by Bartek Rutkowski
Modified: 2014-04-14 06:00 UTC (History)
1 user (show)

See Also:


Attachments
py-pathtools-0.1.2.patch (535 bytes, patch)
2014-04-12 21:10 UTC, Bartek Rutkowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Rutkowski freebsd_committer freebsd_triage 2014-04-12 21:10:00 UTC
- Staging

http://poudriere.ithil.palantiri.org:8080/latest-per-pkg/py27-pathtools/0.1.2/

Port maintainer (nivit@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-12 21:10:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nivit

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-14 05:50:02 UTC
Author: nivit
Date: Mon Apr 14 04:49:58 2014
New Revision: 351249
URL: http://svnweb.freebsd.org/changeset/ports/351249
QAT: https://qat.redports.org/buildarchive/r351249/

Log:
  - Remove deprecated OPTIONSFILE
  - Use auto-generated plist
  - Don't build/install Python egg anymore
  - Bump PORTREVISION (changed pkg-plist)
  - Add support for stage-dir  [1]
  - Don't install unnecessary files of DOCS
  
  PR:	ports/188528  [1]
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Modified:
  head/devel/py-pathtools/Makefile
  head/devel/py-pathtools/pkg-plist

Modified: head/devel/py-pathtools/Makefile
==============================================================================
--- head/devel/py-pathtools/Makefile	Mon Apr 14 04:38:01 2014	(r351248)
+++ head/devel/py-pathtools/Makefile	Mon Apr 14 04:49:58 2014	(r351249)
@@ -2,7 +2,7 @@
 
 PORTNAME=	pathtools
 PORTVERSION=	0.1.2
-#PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,13 +13,12 @@ COMMENT=	File system general utilities f
 LICENSE=	MIT
 
 OPTIONS_DEFINE=	DOCS
-OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-# Python3 ready (installation tested)
+PYDISTUTILS_AUTOPLIST=	yes
+
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
+USE_PYDISTUTILS=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -27,10 +26,11 @@ BUILD_DEPENDS+=	${PKGNAMEPREFIX}sphinx>=
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
 post-build:
-	(cd ${WRKSRC}/docs ; ${MAKE} html)
+	@(cd ${WRKSRC}/docs ; ${MAKE} html)
 
 post-install:
-	(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${DOCSDIR})
+	@(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
+		"! -name .buildinfo -and ! -name objects.inv")
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/py-pathtools/pkg-plist
==============================================================================
--- head/devel/py-pathtools/pkg-plist	Mon Apr 14 04:38:01 2014	(r351248)
+++ head/devel/py-pathtools/pkg-plist	Mon Apr 14 04:49:58 2014	(r351249)
@@ -1,5 +1,3 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
 %%PORTDOCS%%%%DOCSDIR%%/_modules/index.html
 %%PORTDOCS%%%%DOCSDIR%%/_modules/pathtools/path.html
 %%PORTDOCS%%%%DOCSDIR%%/_modules/pathtools/patterns.html
@@ -28,7 +26,6 @@
 %%PORTDOCS%%%%DOCSDIR%%/api.html
 %%PORTDOCS%%%%DOCSDIR%%/genindex.html
 %%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/objects.inv
 %%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
 %%PORTDOCS%%%%DOCSDIR%%/search.html
 %%PORTDOCS%%%%DOCSDIR%%/searchindex.js
_______________________________________________
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 3 Nicola Vitale freebsd_committer freebsd_triage 2014-04-14 05:50:24 UTC
State Changed
From-To: open->closed

Committed, thanks!