pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/bpython



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May 25 06:38:44 UTC 2017

Modified Files:
        pkgsrc/devel/bpython: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/bpython/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/bpython/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/bpython/PLIST \
    pkgsrc/devel/bpython/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/bpython/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/devel/bpython/Makefile
diff -u pkgsrc/devel/bpython/Makefile:1.22 pkgsrc/devel/bpython/Makefile:1.23
--- pkgsrc/devel/bpython/Makefile:1.22  Tue May  9 17:30:59 2017
+++ pkgsrc/devel/bpython/Makefile       Thu May 25 06:38:44 2017
@@ -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}-requests-[0-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"

Index: pkgsrc/devel/bpython/PLIST
diff -u pkgsrc/devel/bpython/PLIST:1.3 pkgsrc/devel/bpython/PLIST:1.4
--- pkgsrc/devel/bpython/PLIST:1.3      Tue May  9 17:30:59 2017
+++ pkgsrc/devel/bpython/PLIST  Thu May 25 06:38:44 2017
@@ -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/translations/nl_NL/
 ${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
Index: pkgsrc/devel/bpython/distinfo
diff -u pkgsrc/devel/bpython/distinfo:1.3 pkgsrc/devel/bpython/distinfo:1.4
--- pkgsrc/devel/bpython/distinfo:1.3   Wed Apr 12 12:00:36 2017
+++ pkgsrc/devel/bpython/distinfo       Thu May 25 06:38:44 2017
@@ -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

Added files:

Index: pkgsrc/devel/bpython/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/bpython/patches/patch-setup.py:1.1
--- /dev/null   Thu May 25 06:38:44 2017
+++ pkgsrc/devel/bpython/patches/patch-setup.py Thu May 25 06:38:44 2017
@@ -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