pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

imported py-cookiecutter as devel/py-cookiecutter



Module Name:	pkgsrc-wip
Committed By:	Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By:	nils
Date:		Mon May 16 17:09:09 2016 +0200
Changeset:	8fae335eb9fcba48f4559e155b5e1f116c452c3f

Modified Files:
	Makefile
Removed Files:
	py-cookiecutter/DESCR
	py-cookiecutter/Makefile
	py-cookiecutter/PLIST
	py-cookiecutter/distinfo
	py-cookiecutter/patches/patch-docs_Makefile
	py-cookiecutter/patches/patch-setup.py

Log Message:
imported py-cookiecutter as devel/py-cookiecutter

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8fae335eb9fcba48f4559e155b5e1f116c452c3f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                    |  1 -
 py-cookiecutter/DESCR                       |  4 ---
 py-cookiecutter/Makefile                    | 54 -----------------------------
 py-cookiecutter/PLIST                       | 46 ------------------------
 py-cookiecutter/distinfo                    |  8 -----
 py-cookiecutter/patches/patch-docs_Makefile | 19 ----------
 py-cookiecutter/patches/patch-setup.py      | 28 ---------------
 7 files changed, 160 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index a27a89e..fdadfdf 100644
--- a/Makefile
+++ b/Makefile
@@ -2879,7 +2879,6 @@ SUBDIR+=	py-conda-env
 SUBDIR+=	py-consensus
 SUBDIR+=	py-constraint
 SUBDIR+=	py-control
-SUBDIR+=	py-cookiecutter
 SUBDIR+=	py-corpus
 SUBDIR+=	py-corrfitter
 SUBDIR+=	py-cosat
diff --git a/py-cookiecutter/DESCR b/py-cookiecutter/DESCR
deleted file mode 100644
index 552d959..0000000
--- a/py-cookiecutter/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-Cookiecutter is a command-line utility that creates
-projects from cookiecutters (project templates),
-e.g. creating a Python package project from a
-Python package project template.
diff --git a/py-cookiecutter/Makefile b/py-cookiecutter/Makefile
deleted file mode 100644
index 0dd1f9e..0000000
--- a/py-cookiecutter/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# $NetBSD$
-
-DISTNAME=			cookiecutter-1.3.0
-GITHUB_PROJECT=			cookiecutter
-PKGNAME=			${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=			devel
-MASTER_SITES=			${MASTER_SITE_GITHUB:=audreyr/}
-EXTRACT_SUFX=			.zip
-
-MAINTAINER=			gde%llew.me@localhost
-HOMEPAGE=			${MASTER_SITE_GITHUB:=audreyr/cookiecutter/}
-COMMENT=			Command-line utility that creates projects from project templates
-LICENSE=			modified-bsd
-
-USE_LANGUAGES=			# none
-USE_TOOLS+=			make:build
-AUTO_MKDIRS=			yes
-INSTALLATION_DIRS+=		${PKGMANDIR}/man1/
-
-BUILD_DEPENDS+=			${PYPKGPREFIX}-sphinx>=1.2.3nb1:../../textproc/py-sphinx
-BUILD_DEPENDS+=			${PYPKGPREFIX}-chardet>=2.3.0:../../converters/py-chardet
-BUILD_DEPENDS+=			${PYPKGPREFIX}-test>=2.3.0:../../devel/py-test
-DEPENDS+=			${PYPKGPREFIX}-future>=0.15.2:../../devel/py-future
-DEPENDS+=			${PYPKGPREFIX}-binaryornot>=0.2.0:../../devel/py-binaryornot
-DEPENDS+=			${PYPKGPREFIX}-jinja2>=2.7:../../textproc/py-jinja2
-DEPENDS+=			${PYPKGPREFIX}-click>=6.3:../../devel/py-click
-DEPENDS+=			${PYPKGPREFIX}-whichcraft>=0.1.1:../../devel/py-whichcraft
-DEPENDS+=			${PYPKGPREFIX}-ruamel-yaml>=0.10.12:../../devel/py-ruamel-yaml
-DEPENDS+=			${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
-
-# for python < 3.0
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 30
-DEPENDS+=			${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-.endif
-
-PLIST_SUBST+=			PYVERSSUFFIX=${PYVERSSUFFIX}
-REPLACE_PYTHON+=		setup.py
-REPLACE_PYTHON+=		cookiecutter/*.py
-
-WRKSRC=				${WRKDIR}/${DISTNAME}
-
-post-build:
-	cd ${WRKSRC}/docs/ && make SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX} man
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/docs/_build/man/cookiecutter.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-
-do-test:
-	cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
-
-.include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-cookiecutter/PLIST b/py-cookiecutter/PLIST
deleted file mode 100644
index 0b446c1..0000000
--- a/py-cookiecutter/PLIST
+++ /dev/null
@@ -1,46 +0,0 @@
-@comment $NetBSD$
-bin/cookiecutter
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/cookiecutter/__init__.py
-${PYSITELIB}/cookiecutter/__init__.pyc
-${PYSITELIB}/cookiecutter/__init__.pyo
-${PYSITELIB}/cookiecutter/cli.py
-${PYSITELIB}/cookiecutter/cli.pyc
-${PYSITELIB}/cookiecutter/cli.pyo
-${PYSITELIB}/cookiecutter/config.py
-${PYSITELIB}/cookiecutter/config.pyc
-${PYSITELIB}/cookiecutter/config.pyo
-${PYSITELIB}/cookiecutter/exceptions.py
-${PYSITELIB}/cookiecutter/exceptions.pyc
-${PYSITELIB}/cookiecutter/exceptions.pyo
-${PYSITELIB}/cookiecutter/find.py
-${PYSITELIB}/cookiecutter/find.pyc
-${PYSITELIB}/cookiecutter/find.pyo
-${PYSITELIB}/cookiecutter/generate.py
-${PYSITELIB}/cookiecutter/generate.pyc
-${PYSITELIB}/cookiecutter/generate.pyo
-${PYSITELIB}/cookiecutter/hooks.py
-${PYSITELIB}/cookiecutter/hooks.pyc
-${PYSITELIB}/cookiecutter/hooks.pyo
-${PYSITELIB}/cookiecutter/main.py
-${PYSITELIB}/cookiecutter/main.pyc
-${PYSITELIB}/cookiecutter/main.pyo
-${PYSITELIB}/cookiecutter/prompt.py
-${PYSITELIB}/cookiecutter/prompt.pyc
-${PYSITELIB}/cookiecutter/prompt.pyo
-${PYSITELIB}/cookiecutter/replay.py
-${PYSITELIB}/cookiecutter/replay.pyc
-${PYSITELIB}/cookiecutter/replay.pyo
-${PYSITELIB}/cookiecutter/utils.py
-${PYSITELIB}/cookiecutter/utils.pyc
-${PYSITELIB}/cookiecutter/utils.pyo
-${PYSITELIB}/cookiecutter/vcs.py
-${PYSITELIB}/cookiecutter/vcs.pyc
-${PYSITELIB}/cookiecutter/vcs.pyo
-man/man1/cookiecutter.1
diff --git a/py-cookiecutter/distinfo b/py-cookiecutter/distinfo
deleted file mode 100644
index 9db59f1..0000000
--- a/py-cookiecutter/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-SHA1 (cookiecutter-1.3.0.zip) = 621a7f8f3ad0bd543917ca9c57cb70d7a80ed18f
-RMD160 (cookiecutter-1.3.0.zip) = 0f402dee6e5dd85b689dcc8c473fc755cd7d029b
-SHA512 (cookiecutter-1.3.0.zip) = 540300e917b1f91c9936d799e2ac3afd61ff8eb95639dc31dc61fd9aece6f9f283dd688a3ac780c5cb6eae299a85fbb89e1cf78cdefdd14501a9debff83eddfe
-Size (cookiecutter-1.3.0.zip) = 274125 bytes
-SHA1 (patch-docs_Makefile) = c0451b26ea79a8ebd7ca0f733264806fea84857d
-SHA1 (patch-setup.py) = 1dd484db3ebb1202ead6a2bf48746751c5e1ab2b
diff --git a/py-cookiecutter/patches/patch-docs_Makefile b/py-cookiecutter/patches/patch-docs_Makefile
deleted file mode 100644
index c7902dc..0000000
--- a/py-cookiecutter/patches/patch-docs_Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-docs_Makefile,v 1.1 2015/06/16 19:16:46 ahp-nils Exp $
-
-removed non-working check for sphinx
-
---- docs/Makefile.orig	2015-03-16 12:49:03.000000000 +0000
-+++ docs/Makefile
-@@ -8,9 +8,9 @@ PAPER         =
- BUILDDIR      = _build
- 
- # User-friendly check for sphinx-build
--ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
--$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
--endif
-+#ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
-+#$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
-+#endif
- 
- # Internal variables.
- PAPEROPT_a4     = -D latex_paper_size=a4
diff --git a/py-cookiecutter/patches/patch-setup.py b/py-cookiecutter/patches/patch-setup.py
deleted file mode 100644
index 000ed4c..0000000
--- a/py-cookiecutter/patches/patch-setup.py
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD$
-
-Fix build with python-3.x and C locale.
-https://github.com/audreyr/cookiecutter/pull/639
-
---- setup.py.orig	2015-11-10 22:47:32.000000000 +0000
-+++ setup.py
-@@ -1,6 +1,7 @@
- #!/usr/bin/env python
- 
- import os
-+import io
- import sys
- 
- try:
-@@ -20,10 +21,10 @@ if sys.argv[-1] == 'tag':
-     os.system("git push --tags")
-     sys.exit()
- 
--with open('README.rst') as readme_file:
-+with io.open('README.rst', 'r', encoding='utf-8') as readme_file:
-     readme = readme_file.read()
- 
--with open('HISTORY.rst') as history_file:
-+with io.open('HISTORY.rst', 'r', encoding='utf-8') as history_file:
-     history = history_file.read().replace('.. :changelog:', '')
- 
- requirements = [


Home | Main Index | Thread Index | Old Index