pkgsrc-WIP-changes archive

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

add new pkg: mailingstats



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Nov 27 22:00:28 2015 +0100
Changeset:	b8307a401a4471b8403c88fa2c2d46fd4c7fcae7

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

Log Message:
add new pkg: mailingstats

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

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

diffstat:
 py-mailingstats/DESCR                  |  6 +++++
 py-mailingstats/Makefile               | 28 ++++++++++++++++++++
 py-mailingstats/PLIST                  | 47 ++++++++++++++++++++++++++++++++++
 py-mailingstats/distinfo               |  7 +++++
 py-mailingstats/patches/patch-setup.py | 15 +++++++++++
 5 files changed, 103 insertions(+)

diffs:
diff --git a/py-mailingstats/DESCR b/py-mailingstats/DESCR
new file mode 100644
index 0000000..6fea2bb
--- /dev/null
+++ b/py-mailingstats/DESCR
@@ -0,0 +1,6 @@
+Mailing List Stats (mlstats) is a tool to parse and analyze mail boxes.
+It is useful to retrieve  and analyze mailing list archives. The parsed mail
+boxes are stored in a database.
+
+mlstats is able to retrieve mailing lists from the web, and store the data
+of every email in a database, from where to obtain different kind of reports.
diff --git a/py-mailingstats/Makefile b/py-mailingstats/Makefile
new file mode 100644
index 0000000..5a7a1c4
--- /dev/null
+++ b/py-mailingstats/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	MailingListStats
+EGG_NAME=	mlstats-0.4
+DISTNAME=	0.4.1
+PKGNAME=	${PYPKGPREFIX}-${GITHUB_PROJECT:tl}-${DISTNAME}
+CATEGORIES=	net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=MetricsGrimoire/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	jihbed.research%gmail.com@localhost
+HOMEPAGE=	https://github.com/MetricsGrimoire/MailingListStats
+COMMENT=	Mailing List Stats is a tool to parse and analyze mail boxes
+LICENSE=	gnu-gpl-v2
+
+DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=1.0.9:../../databases/py-sqlalchemy
+
+WRKSRC=		${WRKDIR}/MailingListStats-0.4.1
+
+USE_LANGUAGES=	# none
+
+PLIST_SUBST+=	PYVERSSUFFIX=${PYVERSSUFFIX}
+
+post-extract:
+	${MV} ${WRKSRC}/mlstats ${WRKSRC}/mlstats${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-mailingstats/PLIST b/py-mailingstats/PLIST
new file mode 100644
index 0000000..0c6c0c0
--- /dev/null
+++ b/py-mailingstats/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD$
+bin/mlstats2.7
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pymlstats/__init__.py
+${PYSITELIB}/pymlstats/__init__.pyc
+${PYSITELIB}/pymlstats/__init__.pyo
+${PYSITELIB}/pymlstats/analyzer.py
+${PYSITELIB}/pymlstats/analyzer.pyc
+${PYSITELIB}/pymlstats/analyzer.pyo
+${PYSITELIB}/pymlstats/database.py
+${PYSITELIB}/pymlstats/database.pyc
+${PYSITELIB}/pymlstats/database.pyo
+${PYSITELIB}/pymlstats/db/__init__.py
+${PYSITELIB}/pymlstats/db/__init__.pyc
+${PYSITELIB}/pymlstats/db/__init__.pyo
+${PYSITELIB}/pymlstats/db/datamodel.py
+${PYSITELIB}/pymlstats/db/datamodel.pyc
+${PYSITELIB}/pymlstats/db/datamodel.pyo
+${PYSITELIB}/pymlstats/db/mysql.py
+${PYSITELIB}/pymlstats/db/mysql.pyc
+${PYSITELIB}/pymlstats/db/mysql.pyo
+${PYSITELIB}/pymlstats/db/postgresql.py
+${PYSITELIB}/pymlstats/db/postgresql.pyc
+${PYSITELIB}/pymlstats/db/postgresql.pyo
+${PYSITELIB}/pymlstats/fileextractor.py
+${PYSITELIB}/pymlstats/fileextractor.pyc
+${PYSITELIB}/pymlstats/fileextractor.pyo
+${PYSITELIB}/pymlstats/htmlparser.py
+${PYSITELIB}/pymlstats/htmlparser.pyc
+${PYSITELIB}/pymlstats/htmlparser.pyo
+${PYSITELIB}/pymlstats/main.py
+${PYSITELIB}/pymlstats/main.pyc
+${PYSITELIB}/pymlstats/main.pyo
+${PYSITELIB}/pymlstats/strictmbox.py
+${PYSITELIB}/pymlstats/strictmbox.pyc
+${PYSITELIB}/pymlstats/strictmbox.pyo
+${PYSITELIB}/pymlstats/utils.py
+${PYSITELIB}/pymlstats/utils.pyc
+${PYSITELIB}/pymlstats/utils.pyo
+${PYSITELIB}/pymlstats/version.py
+${PYSITELIB}/pymlstats/version.pyc
+${PYSITELIB}/pymlstats/version.pyo
+man/man1/mlstats.1
diff --git a/py-mailingstats/distinfo b/py-mailingstats/distinfo
new file mode 100644
index 0000000..ad71239
--- /dev/null
+++ b/py-mailingstats/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (MailingListStats/0.4.1.tar.gz) = 2696873c75016f1767da1c602a945ef88c91ffdb
+RMD160 (MailingListStats/0.4.1.tar.gz) = a65b014e4c66ee3d54c05693e5c74daeba08ab5f
+SHA512 (MailingListStats/0.4.1.tar.gz) = 94f5786c34baf03284561c45f51fe9d436a46d901bbe760183750f3f88af66273d4cfc56f0ad0e749ea0b61e4e8c32521a706fe1f5f88d04a345af2ec01a6a82
+Size (MailingListStats/0.4.1.tar.gz) = 74898 bytes
+SHA1 (patch-setup.py) = 3b676ad83b10b2b86db79d977401e9ba1fed5576
diff --git a/py-mailingstats/patches/patch-setup.py b/py-mailingstats/patches/patch-setup.py
new file mode 100644
index 0000000..f12404f
--- /dev/null
+++ b/py-mailingstats/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- setup.py.orig	2014-02-16 07:21:22.000000000 +0000
++++ setup.py
+@@ -58,8 +58,8 @@ setup(
+     url='http://metricsgrimoire.github.io/MailingListStats/',
+     platforms = ['any'],
+     packages = ['pymlstats', 'pymlstats.db'],
+-    scripts = ['mlstats'],
+-    data_files = [('share/man/man1',['man/mlstats.1'])],
++    scripts = ['mlstats'+sys.version[0:3]],
++    data_files = [('man/man1',['man/mlstats.1'])],
+     test_suite = 'pymlstats.tests',
+     extras_require = {
+         'mysql': ['MySQL-python'],


Home | Main Index | Thread Index | Old Index