pkgsrc-WIP-changes archive

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

canto-daemon: import canto-daemon-0.9.6



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

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

Log Message:
canto-daemon: import canto-daemon-0.9.6

This is the RSS backend for Canto clients.

Canto-curses is the default client.

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

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

diffstat:
 Makefile                            |  1 +
 canto-daemon/DESCR                  |  3 ++
 canto-daemon/Makefile               | 25 +++++++++++++++
 canto-daemon/PLIST                  | 63 +++++++++++++++++++++++++++++++++++++
 canto-daemon/distinfo               |  7 +++++
 canto-daemon/patches/patch-setup.py | 15 +++++++++
 6 files changed, 114 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3b189ee..0e288a0 100644
--- a/Makefile
+++ b/Makefile
@@ -299,6 +299,7 @@ SUBDIR+=	canna-canuum
 SUBDIR+=	canna-dict
 SUBDIR+=	canna-lib
 SUBDIR+=	canna-server
+SUBDIR+=	canto-daemon-0.9.6
 SUBDIR+=	cardpeek
 SUBDIR+=	caribou
 SUBDIR+=	cartago
diff --git a/canto-daemon/DESCR b/canto-daemon/DESCR
new file mode 100644
index 0000000..74e4f13
--- /dev/null
+++ b/canto-daemon/DESCR
@@ -0,0 +1,3 @@
+This is the RSS backend for Canto clients.
+
+Canto-curses is the default client.
diff --git a/canto-daemon/Makefile b/canto-daemon/Makefile
new file mode 100644
index 0000000..e79f447
--- /dev/null
+++ b/canto-daemon/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	canto-next
+DISTNAME=	v${PKGVERSION_NOREV}
+PKGNAME=	canto-daemon-0.9.6
+CATEGORIES=	news
+MASTER_SITES=	${MASTER_SITE_GITHUB:=themoken/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/themoken/canto-next/
+COMMENT=	The next generation Canto RSS daemon
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/canto-next-0.9.6
+USE_LANGUAGES=	# none
+
+DEPENDS+=	${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+PYDISTUTILSPKG=			YES
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/canto-daemon/PLIST b/canto-daemon/PLIST
new file mode 100644
index 0000000..273c716
--- /dev/null
+++ b/canto-daemon/PLIST
@@ -0,0 +1,63 @@
+@comment $NetBSD$
+bin/canto-daemon
+bin/canto-remote
+lib/canto/plugins/reddit.py
+lib/canto/plugins/sync-inoreader.py
+lib/canto/plugins/sync-rsync.py
+${PYSITELIB}/canto_next/__init__.py
+${PYSITELIB}/canto_next/__init__.pyo
+${PYSITELIB}/canto_next/__init__.pyc
+${PYSITELIB}/canto_next/canto_backend.pyo
+${PYSITELIB}/canto_next/canto_backend.pyc
+${PYSITELIB}/canto_next/client.pyo
+${PYSITELIB}/canto_next/client.pyc
+${PYSITELIB}/canto_next/config.pyo
+${PYSITELIB}/canto_next/config.pyc
+${PYSITELIB}/canto_next/encoding.pyo
+${PYSITELIB}/canto_next/encoding.pyc
+${PYSITELIB}/canto_next/feed.pyo
+${PYSITELIB}/canto_next/feed.pyc
+${PYSITELIB}/canto_next/fetch.pyo
+${PYSITELIB}/canto_next/fetch.pyc
+${PYSITELIB}/canto_next/format.pyo
+${PYSITELIB}/canto_next/format.pyc
+${PYSITELIB}/canto_next/hooks.pyo
+${PYSITELIB}/canto_next/hooks.pyc
+${PYSITELIB}/canto_next/locks.pyo
+${PYSITELIB}/canto_next/locks.pyc
+${PYSITELIB}/canto_next/plugins.pyo
+${PYSITELIB}/canto_next/plugins.pyc
+${PYSITELIB}/canto_next/protocol.pyo
+${PYSITELIB}/canto_next/protocol.pyc
+${PYSITELIB}/canto_next/remote.pyo
+${PYSITELIB}/canto_next/remote.pyc
+${PYSITELIB}/canto_next/rwlock.pyo
+${PYSITELIB}/canto_next/rwlock.pyc
+${PYSITELIB}/canto_next/server.pyo
+${PYSITELIB}/canto_next/server.pyc
+${PYSITELIB}/canto_next/storage.pyo
+${PYSITELIB}/canto_next/storage.pyc
+${PYSITELIB}/canto_next/tag.pyo
+${PYSITELIB}/canto_next/tag.pyc
+${PYSITELIB}/canto_next/transform.pyo
+${PYSITELIB}/canto_next/transform.pyc
+${PYSITELIB}/canto_next/canto_backend.py
+${PYSITELIB}/canto_next/client.py
+${PYSITELIB}/canto_next/config.py
+${PYSITELIB}/canto_next/encoding.py
+${PYSITELIB}/canto_next/feed.py
+${PYSITELIB}/canto_next/fetch.py
+${PYSITELIB}/canto_next/format.py
+${PYSITELIB}/canto_next/hooks.py
+${PYSITELIB}/canto_next/locks.py
+${PYSITELIB}/canto_next/plugins.py
+${PYSITELIB}/canto_next/protocol.py
+${PYSITELIB}/canto_next/remote.py
+${PYSITELIB}/canto_next/rwlock.py
+${PYSITELIB}/canto_next/server.py
+${PYSITELIB}/canto_next/storage.py
+${PYSITELIB}/canto_next/tag.py
+${PYSITELIB}/canto_next/transform.py
+lib/systemd/user/canto-daemon.service
+man/man1/canto-daemon.1
+man/man1/canto-remote.1
diff --git a/canto-daemon/distinfo b/canto-daemon/distinfo
new file mode 100644
index 0000000..86f4b1f
--- /dev/null
+++ b/canto-daemon/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (canto-next/v0.9.6.tar.gz) = fbd45d215a402aa90b52f27cef29a69bc78a92be
+RMD160 (canto-next/v0.9.6.tar.gz) = b060b8fe8b704abc38bf93bb609d920d0e0eb517
+SHA512 (canto-next/v0.9.6.tar.gz) = fc2a747bef08e1e1e961b59c6ae22a1c7551d3290aadf70a1b28ae78a9111e8564fbb2a4c1d0231362943109307299bbecfa07b3068a593973aaeb3a921c7676
+Size (canto-next/v0.9.6.tar.gz) = 53101 bytes
+SHA1 (patch-setup.py) = 1c1ef0ab3ad2cf5d655a6a851e47eae71e71b0f7
diff --git a/canto-daemon/patches/patch-setup.py b/canto-daemon/patches/patch-setup.py
new file mode 100644
index 0000000..29ec4e5
--- /dev/null
+++ b/canto-daemon/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix manual page directory.
+
+--- setup.py.orig	2016-06-01 18:57:35.000000000 +0000
++++ setup.py
+@@ -48,7 +48,7 @@ setup(name='Canto',
+       download_url='http://codezen.org/static/canto-daemon-' + string_version + '.tar.gz',
+       packages=['canto_next'],
+       scripts=['bin/canto-daemon','bin/canto-remote'],
+-      data_files = [("share/man/man1/", ["man/canto-daemon.1", "man/canto-remote.1"]),
++      data_files = [(os.getenv("PKGMANDIR")+"/man1/", ["man/canto-daemon.1", "man/canto-remote.1"]),
+                     ("lib/systemd/user", ["systemd/user/canto-daemon.service"]),
+                     ("lib/canto/plugins", glob.glob("plugins/*.py"))],
+       cmdclass = {  'install_data' : canto_next_install_data,


Home | Main Index | Thread Index | Old Index