pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bpython BPython installs man-pages when it finds...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c9b128493123
branches: trunk
changeset: 362780:c9b128493123
user: adam <adam%pkgsrc.org@localhost>
date: Thu May 25 06:38:44 2017 +0000
description:
BPython installs man-pages when it finds Sphinx being installed in the system.
Now, Sphinx has been added as build dependency to always make the man-pages.
diffstat:
devel/bpython/Makefile | 7 +++++--
devel/bpython/PLIST | 4 +++-
devel/bpython/distinfo | 3 ++-
devel/bpython/patches/patch-setup.py | 18 ++++++++++++++++++
4 files changed, 28 insertions(+), 4 deletions(-)
diffs (75 lines):
diff -r 2cb58d60be4c -r c9b128493123 devel/bpython/Makefile
--- a/devel/bpython/Makefile Thu May 25 06:01:04 2017 +0000
+++ b/devel/bpython/Makefile Thu May 25 06:38:44 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2017/05/09 17:30:59 adam Exp $
+# $NetBSD: Makefile,v 1.23 2017/05/25 06:38:44 adam Exp $
DISTNAME= bpython-0.16
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://bpython-interpreter.org/releases/
@@ -22,6 +22,9 @@
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-urwid>=0.9.9.1:../../devel/py-urwid
+# to generate man pages
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r 2cb58d60be4c -r c9b128493123 devel/bpython/PLIST
--- a/devel/bpython/PLIST Thu May 25 06:01:04 2017 +0000
+++ b/devel/bpython/PLIST Thu May 25 06:38:44 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/05/09 17:30:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/05/25 06:38:44 adam Exp $
bin/bpdb
bin/bpython
bin/bpython-curses
@@ -233,6 +233,8 @@
${PYSITELIB}/bpython/urwid.py
${PYSITELIB}/bpython/urwid.pyc
${PYSITELIB}/bpython/urwid.pyo
+man/man1/bpython.1
+man/man5/bpython-config.5
share/appdata/bpython.appdata.xml
share/applications/bpython.desktop
share/pixmaps/bpython.png
diff -r 2cb58d60be4c -r c9b128493123 devel/bpython/distinfo
--- a/devel/bpython/distinfo Thu May 25 06:01:04 2017 +0000
+++ b/devel/bpython/distinfo Thu May 25 06:38:44 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2017/04/12 12:00:36 adam Exp $
+$NetBSD: distinfo,v 1.4 2017/05/25 06:38:44 adam Exp $
SHA1 (bpython-0.16.tar.gz) = 2acc00ac55f95a88ee0ba8b4ba55f111f1e15080
RMD160 (bpython-0.16.tar.gz) = be0840b585b63f32ff4898aada76c51cd6ff9a8f
SHA512 (bpython-0.16.tar.gz) = 1173d720aa679e4a6079c7febd36abbffa901604c99c6d1ce1e940a8fbcf8a4ba7bc526de0ef5290e3859a4384d1cd5cbef62fd9f056ddcb545b64d69d103a5b
Size (bpython-0.16.tar.gz) = 201898 bytes
+SHA1 (patch-setup.py) = 3c4434399c52e322638cb9270348aad87b5a8cb6
diff -r 2cb58d60be4c -r c9b128493123 devel/bpython/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bpython/patches/patch-setup.py Thu May 25 06:38:44 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-setup.py,v 1.1 2017/05/25 06:38:44 adam Exp $
+
+Use the same man directory across all platforms.
+
+--- setup.py.orig 2017-05-25 06:32:08.000000000 +0000
++++ setup.py
+@@ -185,10 +185,7 @@ if using_sphinx:
+ build.sub_commands.insert(0, ('build_sphinx_man', None))
+ cmdclass['build_sphinx_man'] = BuildDocMan
+
+- if platform.system() in ['FreeBSD', 'OpenBSD']:
+- man_dir = 'man'
+- else:
+- man_dir = 'share/man'
++ man_dir = 'man'
+
+ # manual pages
+ man_pages = [
Home |
Main Index |
Thread Index |
Old Index