pkgsrc-WIP-changes archive

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

canto-curses: import canto-curses-0.9.7



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

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

Log Message:
canto-curses: import canto-curses-0.9.7

The curses (text) client for canto-daemon.

Canto-daemon is required for it to work.

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

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

diffstat:
 Makefile                            |  1 +
 canto-curses/DESCR                  |  3 ++
 canto-curses/Makefile               | 28 +++++++++++++++
 canto-curses/PLIST                  | 69 +++++++++++++++++++++++++++++++++++++
 canto-curses/distinfo               |  7 ++++
 canto-curses/patches/patch-setup.py | 15 ++++++++
 6 files changed, 123 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 731972e..da290ef 100644
--- a/Makefile
+++ b/Makefile
@@ -299,6 +299,7 @@ SUBDIR+=	canna-canuum
 SUBDIR+=	canna-dict
 SUBDIR+=	canna-lib
 SUBDIR+=	canna-server
+SUBDIR+=	canto-curses
 SUBDIR+=	canto-daemon
 SUBDIR+=	cardpeek
 SUBDIR+=	caribou
diff --git a/canto-curses/DESCR b/canto-curses/DESCR
new file mode 100644
index 0000000..c68980d
--- /dev/null
+++ b/canto-curses/DESCR
@@ -0,0 +1,3 @@
+The curses (text) client for canto-daemon.
+
+Canto-daemon is required for it to work.
diff --git a/canto-curses/Makefile b/canto-curses/Makefile
new file mode 100644
index 0000000..5a51c65
--- /dev/null
+++ b/canto-curses/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	canto-curses
+DISTNAME=	v${PKGVERSION_NOREV}
+PKGNAME=	${GITHUB_PROJECT}-0.9.7
+CATEGORIES=	news
+MASTER_SITES=	${MASTER_SITE_GITHUB:=themoken/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/themoken/canto-curses/
+COMMENT=	The curses (text) client for canto-daemon
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/canto-curses-0.9.7
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+PYDISTUTILSPKG=			YES
+
+DEPENDS+=	canto-daemon-[0-9]*:../../local/canto-daemon
+DEPENDS+=	${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
+DEPENDS+=	${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
+
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/canto-curses/PLIST b/canto-curses/PLIST
new file mode 100644
index 0000000..e4d1a9a
--- /dev/null
+++ b/canto-curses/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD$
+bin/canto-curses
+lib/canto/plugins/autocmd.py
+lib/canto/plugins/cleantitle.py
+lib/canto/plugins/favorites.py
+lib/canto/plugins/reader-extras.py
+lib/canto/plugins/smartlink.py
+lib/canto/plugins/theme-default.py
+lib/canto/plugins/xtermtitle.py
+lib/canto/plugins/yank.py
+${PYSITELIB}/canto_curses/__init__.py
+${PYSITELIB}/canto_curses/__init__.pyo
+${PYSITELIB}/canto_curses/__init__.pyc
+${PYSITELIB}/canto_curses/color.pyo
+${PYSITELIB}/canto_curses/color.pyc
+${PYSITELIB}/canto_curses/command.pyo
+${PYSITELIB}/canto_curses/command.pyc
+${PYSITELIB}/canto_curses/config.pyo
+${PYSITELIB}/canto_curses/config.pyc
+${PYSITELIB}/canto_curses/gui.pyo
+${PYSITELIB}/canto_curses/gui.pyc
+${PYSITELIB}/canto_curses/guibase.pyo
+${PYSITELIB}/canto_curses/guibase.pyc
+${PYSITELIB}/canto_curses/html.pyo
+${PYSITELIB}/canto_curses/html.pyc
+${PYSITELIB}/canto_curses/input.pyo
+${PYSITELIB}/canto_curses/input.pyc
+${PYSITELIB}/canto_curses/locks.pyo
+${PYSITELIB}/canto_curses/locks.pyc
+${PYSITELIB}/canto_curses/main.pyo
+${PYSITELIB}/canto_curses/main.pyc
+${PYSITELIB}/canto_curses/reader.pyo
+${PYSITELIB}/canto_curses/reader.pyc
+${PYSITELIB}/canto_curses/screen.pyo
+${PYSITELIB}/canto_curses/screen.pyc
+${PYSITELIB}/canto_curses/story.pyo
+${PYSITELIB}/canto_curses/story.pyc
+${PYSITELIB}/canto_curses/subthread.pyo
+${PYSITELIB}/canto_curses/subthread.pyc
+${PYSITELIB}/canto_curses/tag.pyo
+${PYSITELIB}/canto_curses/tag.pyc
+${PYSITELIB}/canto_curses/tagcore.pyo
+${PYSITELIB}/canto_curses/tagcore.pyc
+${PYSITELIB}/canto_curses/taglist.pyo
+${PYSITELIB}/canto_curses/taglist.pyc
+${PYSITELIB}/canto_curses/text.pyo
+${PYSITELIB}/canto_curses/text.pyc
+${PYSITELIB}/canto_curses/theme.pyo
+${PYSITELIB}/canto_curses/theme.pyc
+${PYSITELIB}/canto_curses/color.py
+${PYSITELIB}/canto_curses/command.py
+${PYSITELIB}/canto_curses/config.py
+${PYSITELIB}/canto_curses/gui.py
+${PYSITELIB}/canto_curses/guibase.py
+${PYSITELIB}/canto_curses/html.py
+${PYSITELIB}/canto_curses/input.py
+${PYSITELIB}/canto_curses/locks.py
+${PYSITELIB}/canto_curses/main.py
+${PYSITELIB}/canto_curses/reader.py
+${PYSITELIB}/canto_curses/screen.py
+${PYSITELIB}/canto_curses/story.py
+${PYSITELIB}/canto_curses/subthread.py
+${PYSITELIB}/canto_curses/tag.py
+${PYSITELIB}/canto_curses/tagcore.py
+${PYSITELIB}/canto_curses/taglist.py
+${PYSITELIB}/canto_curses/text.py
+${PYSITELIB}/canto_curses/theme.py
+${PYSITELIB}/canto_curses/widecurse.so
+man/man1/canto-curses.1
diff --git a/canto-curses/distinfo b/canto-curses/distinfo
new file mode 100644
index 0000000..3aac514
--- /dev/null
+++ b/canto-curses/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (canto-curses/v0.9.7.tar.gz) = 796ad99ade278e4e18019c58117042a04c21bc12
+RMD160 (canto-curses/v0.9.7.tar.gz) = 50af1fcd7d73c7b4ad0111ebe0abebafcd1359aa
+SHA512 (canto-curses/v0.9.7.tar.gz) = b6a46a767f08b68a6b12d67ae4ac21e4063b0da0bbab9cb775cb08299d8bee244b52439159ba70168d70dd77b8559ef2953ee33e297ef31c2d1fb1b51a35307e
+Size (canto-curses/v0.9.7.tar.gz) = 79874 bytes
+SHA1 (patch-setup.py) = b027f9a0e5d2baa3a53702b621d957c3a20a1aac
diff --git a/canto-curses/patches/patch-setup.py b/canto-curses/patches/patch-setup.py
new file mode 100644
index 0000000..e0366f8
--- /dev/null
+++ b/canto-curses/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix manual page directory.
+
+--- setup.py.orig	2016-06-01 18:43:46.000000000 +0000
++++ setup.py
+@@ -49,7 +49,7 @@ setup(name='Canto-curses',
+               library_dirs = ["/usr/local/lib", "/opt/local/lib"],
+               include_dirs = ["/usr/local/include", "/opt/local/include"])],
+       scripts=['bin/canto-curses'],
+-      data_files = [("share/man/man1/", ["man/canto-curses.1"]),
++      data_files = [(os.getenv("PKGMANDIR")+"/man1/", ["man/canto-curses.1"]),
+                     ("lib/canto/plugins/", glob.glob('plugins/*.py'))],
+       cmdclass = {  'install_data' : canto_curses_install_data,
+                     'build_py' : canto_curses_build_py},


Home | Main Index | Thread Index | Old Index