pkgsrc-WIP-changes archive

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

Import py27-html-1.16 as wip/py-html.



Module Name:	pkgsrc-wip
Committed By:	Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By:	nils
Date:		Thu Aug 11 17:51:59 2016 +0200
Changeset:	0483fee30b45301d30bf72b54a690eb7a2497ed4

Added Files:
	py-html/DESCR
	py-html/Makefile
	py-html/PLIST
	py-html/distinfo
	py-html/patches/patch-setup.py

Log Message:
Import py27-html-1.16 as wip/py-html.

Simple, elegant HTML, XHTML and XML generation.

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

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

diffstat:
 py-html/DESCR                  |  1 +
 py-html/Makefile               | 16 ++++++++++++++++
 py-html/PLIST                  |  8 ++++++++
 py-html/distinfo               |  7 +++++++
 py-html/patches/patch-setup.py | 17 +++++++++++++++++
 5 files changed, 49 insertions(+)

diffs:
diff --git a/py-html/DESCR b/py-html/DESCR
new file mode 100644
index 0000000..2e92d01
--- /dev/null
+++ b/py-html/DESCR
@@ -0,0 +1 @@
+Simple, elegant HTML, XHTML and XML generation.
diff --git a/py-html/Makefile b/py-html/Makefile
new file mode 100644
index 0000000..565dcd7
--- /dev/null
+++ b/py-html/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	html-1.16
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel lang python
+MASTER_SITES=	${MASTER_SITE_PYPI:=h/html/}
+
+MAINTAINER=	nils%NetBSD.org@localhost
+HOMEPAGE=	http://pypi.python.org/pypi/html
+COMMENT=	Simple, elegant HTML, XHTML and XML generation
+LICENSE=	modified-bsd
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-html/PLIST b/py-html/PLIST
new file mode 100644
index 0000000..c44ad26
--- /dev/null
+++ b/py-html/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/html.py
+${PYSITELIB}/html.pyc
+${PYSITELIB}/html.pyo
diff --git a/py-html/distinfo b/py-html/distinfo
new file mode 100644
index 0000000..b67de24
--- /dev/null
+++ b/py-html/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (html-1.16.tar.gz) = 3c8cffb4d283ad784326b884fed74aff38211b48
+RMD160 (html-1.16.tar.gz) = 5bf971ae0cee5f9ac1db56baa24f7a5487e433c0
+SHA512 (html-1.16.tar.gz) = fe2329775bc9154aafe2411adb893ce443d3e0875cfa0efa9a722c068578713d3cc123fc62e732215766b3bf7371777a173969100f3025b9f9c99b504482ea39
+Size (html-1.16.tar.gz) = 7639 bytes
+SHA1 (patch-setup.py) = a73d4fddd25d17b12239b0f7114ad9dc27fb75cf
diff --git a/py-html/patches/patch-setup.py b/py-html/patches/patch-setup.py
new file mode 100644
index 0000000..a97aa41
--- /dev/null
+++ b/py-html/patches/patch-setup.py
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Fix setup 
+
+--- setup.py.orig	2011-06-24 01:02:39.000000000 +0000
++++ setup.py
+@@ -1,6 +1,9 @@
+ #! /usr/bin/env python
+ 
+-from distutils.core import setup
++try:
++    from setuptools import setup
++except ImportError:
++    from distutils.core import setup
+ 
+ from html import __version__, __doc__
+ 


Home | Main Index | Thread Index | Old Index