Update to latest version.
Changes include python3.7 compatibility and cleaned up code formatting.
Temporary patch included for invalid characters in the README.rst. Issue
already noted upstream.
https://github.com/pydanny/whichcraft/issues/10
- No MAINTAINER listed
- All tests pass for py2 and py3
- Nothing depends on this
- diff applies cleanly with `patch`
Comments/feedback?
Thank you,
--
Edward Lopez-Acosta
diff --git Makefile Makefile
index 365fed99eb6..88603781fd0 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
COMMENT = cross-platform, cross-python, shutil.which functionality
-MODPY_EGG_VERSION = 0.4.1
+MODPY_EGG_VERSION = 0.5.2
DISTNAME = whichcraft-${MODPY_EGG_VERSION}
PKGNAME = py-whichcraft-${MODPY_EGG_VERSION}
diff --git distinfo distinfo
index 0e0cd843a20..ff78384225a 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (whichcraft-0.4.1.tar.gz) = ng1RyTh8t+nyi37bVJ5qA9p1j3eE+ZHrQ5fX94CMV/0=
-SIZE (whichcraft-0.4.1.tar.gz) = 6222
+SHA256 (whichcraft-0.5.2.tar.gz) = /s3dUx8jf/xduLIVQJr7GPowMAaZBkzKSBdSG0/IGBU=
+SIZE (whichcraft-0.5.2.tar.gz) = 6480
diff --git patches/patch-README_rst patches/patch-README_rst
new file mode 100644
index 00000000000..e97299f342f
--- /dev/null
+++ patches/patch-README_rst
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Index: README.rst
+--- README.rst.orig
++++ README.rst
+@@ -34,8 +34,8 @@ On Linux, Mac, Windows for Python 2.7 or any of the ma
+
+ .. code-block:: python
+
+- Â >>> from whichcraft import which
+- Â >>> which('date')
++ >>> from whichcraft import which
++ >>> which('date')
+ '/bin/date'
+ >>> which('calendar')
+ '/bin/calendar'