pkgsrc-WIP-changes archive

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

rawdog: import rawdog-2.21



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat Jul 30 19:09:35 2016 +0200
Changeset:	578629c585bd6ad59a9ad460b78083ea9f7d8063

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

Log Message:
rawdog: import rawdog-2.21

rawdog is a feed aggregator, capable of producing a personal "river of
news" or a public "planet" page. It supports all common feed formats,
including all versions of RSS and Atom. By default, it is run from cron,
collects articles from a number of feeds, and generates a static HTML
page listing the newest articles in date order. It supports per-feed
customizable update times, and uses ETags, Last-Modified, gzip
compression, and RFC3229+feed to minimize network bandwidth usage. Its
behaviour is highly customisable using plugins written in Python.

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

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

diffstat:
 Makefile                      |  1 +
 rawdog/DESCR                  |  8 ++++++++
 rawdog/Makefile               | 27 +++++++++++++++++++++++++++
 rawdog/PLIST                  | 20 ++++++++++++++++++++
 rawdog/distinfo               |  7 +++++++
 rawdog/patches/patch-setup.py | 24 ++++++++++++++++++++++++
 6 files changed, 87 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index da290ef..24243a2 100644
--- a/Makefile
+++ b/Makefile
@@ -3616,6 +3616,7 @@ SUBDIR+=	rar4
 SUBDIR+=	raster3d
 SUBDIR+=	ratpoints
 SUBDIR+=	ratproxy
+SUBDIR+=	rawdog
 SUBDIR+=	rc.d.Interix
 SUBDIR+=	rc.subr
 SUBDIR+=	rcm
diff --git a/rawdog/DESCR b/rawdog/DESCR
new file mode 100644
index 0000000..1adde17
--- /dev/null
+++ b/rawdog/DESCR
@@ -0,0 +1,8 @@
+rawdog is a feed aggregator, capable of producing a personal "river of
+news" or a public "planet" page. It supports all common feed formats,
+including all versions of RSS and Atom. By default, it is run from cron,
+collects articles from a number of feeds, and generates a static HTML
+page listing the newest articles in date order. It supports per-feed
+customizable update times, and uses ETags, Last-Modified, gzip
+compression, and RFC3229+feed to minimize network bandwidth usage. Its
+behaviour is highly customisable using plugins written in Python.
diff --git a/rawdog/Makefile b/rawdog/Makefile
new file mode 100644
index 0000000..8d33298
--- /dev/null
+++ b/rawdog/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	rawdog-2.21
+CATEGORIES=	news
+MASTER_SITES=	http://offog.org/files/
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://offog.org/code/rawdog/
+COMMENT=	RSS Aggregator Without Delusions Of Grandeur
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=	# none
+
+DEPENDS+=	${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser
+
+PYTHON_VERSIONS_ACCEPTED=	27
+PYDISTUTILSPKG=			YES
+
+INSTALLATION_DIRS+=	share/examples/rawdog
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/config ${DESTDIR}${PREFIX}/share/examples/rawdog/
+	${INSTALL_DATA} ${WRKSRC}/style.css ${DESTDIR}${PREFIX}/share/examples/rawdog/
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/rawdog/PLIST b/rawdog/PLIST
new file mode 100644
index 0000000..98e97c0
--- /dev/null
+++ b/rawdog/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+bin/rawdog
+${PYSITELIB}/rawdoglib/__init__.py
+${PYSITELIB}/rawdoglib/__init__.pyc
+${PYSITELIB}/rawdoglib/__init__.pyo
+${PYSITELIB}/rawdoglib/feedscanner.py
+${PYSITELIB}/rawdoglib/feedscanner.pyc
+${PYSITELIB}/rawdoglib/feedscanner.pyo
+${PYSITELIB}/rawdoglib/persister.py
+${PYSITELIB}/rawdoglib/persister.pyc
+${PYSITELIB}/rawdoglib/persister.pyo
+${PYSITELIB}/rawdoglib/plugins.py
+${PYSITELIB}/rawdoglib/plugins.pyc
+${PYSITELIB}/rawdoglib/plugins.pyo
+${PYSITELIB}/rawdoglib/rawdog.py
+${PYSITELIB}/rawdoglib/rawdog.pyc
+${PYSITELIB}/rawdoglib/rawdog.pyo
+man/man1/rawdog.1
+share/examples/rawdog/config
+share/examples/rawdog/style.css
diff --git a/rawdog/distinfo b/rawdog/distinfo
new file mode 100644
index 0000000..1f46a05
--- /dev/null
+++ b/rawdog/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (rawdog-2.21.tar.gz) = 4579cb91812bc76eec1a5b73a953d104a33939c7
+RMD160 (rawdog-2.21.tar.gz) = 7bd9aaf46981e26fade52a7714bb9be54ab5b5bc
+SHA512 (rawdog-2.21.tar.gz) = 99ad84ede4c9c807cfa8ca231b630ecf56dac2136d9989e14468e7ccf77f7b4fb3974d941b47b2dd26d1b2ecb42dc999b8146ae8ecc9a97bbdc888d30742727a
+Size (rawdog-2.21.tar.gz) = 67812 bytes
+SHA1 (patch-setup.py) = 6a00792bf7a63db7a513dbde83a010daa05c0171
diff --git a/rawdog/patches/patch-setup.py b/rawdog/patches/patch-setup.py
new file mode 100644
index 0000000..64030fd
--- /dev/null
+++ b/rawdog/patches/patch-setup.py
@@ -0,0 +1,24 @@
+$NetBSD$
+
+Fix manual page directory.
+
+--- setup.py.orig	2015-07-18 23:07:59.000000000 +0000
++++ setup.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+ 
+ from distutils.core import setup
+-import sys
++import sys, os
+ 
+ if sys.version_info < (2, 6) or sys.version_info >= (3,):
+ 	print("rawdog requires Python 2.6 or later, and not Python 3.")
+@@ -14,7 +14,7 @@ setup(name = "rawdog",
+ 	author_email = "ats%offog.org@localhost",
+ 	url = "http://offog.org/code/rawdog/";,
+ 	scripts = ['rawdog'],
+-	data_files = [('share/man/man1', ['rawdog.1'])],
++	data_files = [(os.getenv("PKGMANDIR")+'/man1', ['rawdog.1'])],
+ 	packages = ['rawdoglib'],
+ 	classifiers = [
+ 		"Development Status :: 5 - Production/Stable",


Home | Main Index | Thread Index | Old Index