pkgsrc-WIP-changes archive

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

Import wp2md as wip/wp2md.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Nov 6 01:59:45 2015 +0100
Changeset:	844e94e5d7785d0e13b26ca192b8bbcd64beafbc

Added Files:
	wp2md/DESCR
	wp2md/Makefile
	wp2md/PLIST

Log Message:
Import wp2md as wip/wp2md.

A python script to convert WordPress XML dump to a set of plain text/markdown
files. Intended to be used for migration from WordPress to public-static
website generator, but could also be helpful as general purpose WordPress
content processor.

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

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

diffstat:
 wp2md/DESCR    |  4 ++++
 wp2md/Makefile | 23 +++++++++++++++++++++++
 wp2md/PLIST    | 27 +++++++++++++++++++++++++++
 3 files changed, 54 insertions(+)

diffs:
diff --git a/wp2md/DESCR b/wp2md/DESCR
new file mode 100644
index 0000000..1751cb8
--- /dev/null
+++ b/wp2md/DESCR
@@ -0,0 +1,4 @@
+A python script to convert WordPress XML dump to a set of plain text/markdown
+files. Intended to be used for migration from WordPress to public-static
+website generator, but could also be helpful as general purpose WordPress
+content processor.
diff --git a/wp2md/Makefile b/wp2md/Makefile
new file mode 100644
index 0000000..348a688
--- /dev/null
+++ b/wp2md/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	wp2md
+CATEGORIES=	textproc
+GIT_REPOSITORIES=	wp2md
+GIT_REPO.wp2md=		git%github.com@localhost:dreikanter/wp2md.git
+
+WRKSRC=		${WRKDIR}/wp2md
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/dreikanter/wp2md
+COMMENT=	WordPress to Markdown Exporter
+LICENSE=	gnu-gpl-v3
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+REPLACE_PYTHON+=	wp2md/html2text.py
+REPLACE_PYTHON+=	wp2md/wp2md.py
+
+.include "../../lang/python/distutils.mk"
+.include "../../lang/python/application.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wp2md/PLIST b/wp2md/PLIST
new file mode 100644
index 0000000..7f7ebfe
--- /dev/null
+++ b/wp2md/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD$
+bin/${PKGNAME}
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/PKG-INFO
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/SOURCES.txt
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/dependency_links.txt
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/entry_points.txt
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/not-zip-safe
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/requires.txt
+${PYSITELIB}/${PKGNAME}-0.8.1-py3.4.egg-info/top_level.txt
+${PYSITELIB}/${PKGNAME}/__init__.py
+${PYSITELIB}/${PKGNAME}/__main__.py
+${PYSITELIB}/${PKGNAME}/__init__.pyc
+${PYSITELIB}/${PKGNAME}/__init__.pyo
+${PYSITELIB}/${PKGNAME}/__main__.pyc
+${PYSITELIB}/${PKGNAME}/__main__.pyo
+${PYSITELIB}/${PKGNAME}/authoring.pyc
+${PYSITELIB}/${PKGNAME}/authoring.pyo
+${PYSITELIB}/${PKGNAME}/html2text.pyc
+${PYSITELIB}/${PKGNAME}/html2text.pyo
+${PYSITELIB}/${PKGNAME}/version.pyc
+${PYSITELIB}/${PKGNAME}/version.pyo
+${PYSITELIB}/${PKGNAME}/${PKGNAME}.pyc
+${PYSITELIB}/${PKGNAME}/${PKGNAME}.pyo
+${PYSITELIB}/${PKGNAME}/authoring.py
+${PYSITELIB}/${PKGNAME}/html2text.py
+${PYSITELIB}/${PKGNAME}/version.py
+${PYSITELIB}/${PKGNAME}/${PKGNAME}.py


Home | Main Index | Thread Index | Old Index