Bug 187893 - [New Port] textproc/py-cloud_sptheme: Sphinx theme
Summary: [New Port] textproc/py-cloud_sptheme: Sphinx theme
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 00:50 UTC by Horia Racoviceanu
Modified: 2014-03-24 16:50 UTC (History)
0 users

See Also:


Attachments
file.shar (2.64 KB, text/plain)
2014-03-24 00:50 UTC, Horia Racoviceanu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horia Racoviceanu 2014-03-24 00:50:00 UTC
This is a small package containing a Sphinx theme named "Cloud",
along with some related Sphinx extensions. To see an example
of the theme in action, check out it's documentation.

WWW: https://pypi.python.org/pypi/cloud_sptheme/

Fix: Build log:
https://redports.org/buildarchive/20140324004057-29460/

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-24 00:50:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-24 16:47:11 UTC
Author: swills
Date: Mon Mar 24 16:47:07 2014
New Revision: 349026
URL: http://svnweb.freebsd.org/changeset/ports/349026
QAT: https://qat.redports.org/buildarchive/r349026/

Log:
  This is a small package containing a Sphinx theme named "Cloud",
  along with some related Sphinx extensions. To see an example
  of the theme in action, check out it's documentation.
  
  WWW: https://pypi.python.org/pypi/cloud_sptheme/
  
  PR:		ports/187893
  Submitted by:	Horia Racoviceanu <horia@racoviceanu.com>

Added:
  head/textproc/py-cloud_sptheme/
  head/textproc/py-cloud_sptheme/Makefile   (contents, props changed)
  head/textproc/py-cloud_sptheme/distinfo   (contents, props changed)
  head/textproc/py-cloud_sptheme/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Mon Mar 24 16:40:46 2014	(r349025)
+++ head/textproc/Makefile	Mon Mar 24 16:47:07 2014	(r349026)
@@ -1129,6 +1129,7 @@
     SUBDIR += py-asv
     SUBDIR += py-charade
     SUBDIR += py-chardet
+    SUBDIR += py-cloud_sptheme
     SUBDIR += py-creole
     SUBDIR += py-docutils
     SUBDIR += py-dsv

Added: head/textproc/py-cloud_sptheme/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cloud_sptheme/Makefile	Mon Mar 24 16:47:07 2014	(r349026)
@@ -0,0 +1,53 @@
+# Created by: Horia Racoviceanu <horia@racoviceanu.com>
+# $FreeBSD$
+
+PORTNAME=	cloud_sptheme
+PORTVERSION=	1.6
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR=	python
+
+MAINTAINER=	horia@racoviceanu.com
+COMMENT=	Sphinx theme
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:${PORTSDIR}/textproc/py-sphinx
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
+PYDISTUTILS_BUILDARGS=	build_sphinx -E
+
+PORTDOCS=	*
+
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	README CHANGES
+
+DOCSDIR2=	${DOCSDIR}/html
+DOCSRCDIR2=	${DOCSRCDIR1}/build/sphinx/html
+DOC_FILES2=	${DOC_FILES3} *.js
+
+DOCSDIR3=	${DOCSDIR2}/lib
+DOCSRCDIR3=	${DOCSRCDIR2}/lib
+DOC_FILES3=	*.html
+
+DOCSDIR4=	${DOCSDIR2}/_static
+DOCSRCDIR4=	${DOCSRCDIR2}/_static
+DOC_FILES4=	*.css *.gif *.js *.png *.svg
+
+OPTIONS_DEFINE=	DOCS
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR3} ${STAGEDIR}${DOCSDIR4}
+	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
+	${INSTALL_DATA} ${DOC_FILES4:S|^|${DOCSRCDIR4}/|} ${STAGEDIR}${DOCSDIR4}
+
+.include <bsd.port.mk>

Added: head/textproc/py-cloud_sptheme/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cloud_sptheme/distinfo	Mon Mar 24 16:47:07 2014	(r349026)
@@ -0,0 +1,2 @@
+SHA256 (python/cloud_sptheme-1.6.tar.gz) = 658e8cf1479155faded4d88abd9dea8698b19baf2276bc8a25d51202a7bdce35
+SIZE (python/cloud_sptheme-1.6.tar.gz) = 412913

Added: head/textproc/py-cloud_sptheme/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cloud_sptheme/pkg-descr	Mon Mar 24 16:47:07 2014	(r349026)
@@ -0,0 +1,5 @@
+This is a small package containing a Sphinx theme named "Cloud",
+along with some related Sphinx extensions. To see an example
+of the theme in action, check out it's documentation.
+
+WWW: https://pypi.python.org/pypi/cloud_sptheme/
_______________________________________________
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 Steve Wills freebsd_committer freebsd_triage 2014-03-24 16:47:24 UTC
State Changed
From-To: open->closed

New port added. Thanks!