pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pyev Update py-pyev to 0.9.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b83c46be6c2
branches:  trunk
changeset: 348165:5b83c46be6c2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jun 08 22:34:29 2016 +0000

description:
Update py-pyev to 0.9.0.

Fix HOMEPAGE, use distutils.mk, other cleanup.

Release 0.9.0
=============

misc:

.. warning::
    - pyev does not embed libev anymore (Issue #9):

      - libev >= 4.15 is required.
      - win32 support has been dropped.
      - No more :py:class:`Stat` watchers.
      - pyev is now published under the GPLv3 license.

    - Support for Python2 < 2.7 and Python3 < 3.3 has been dropped.


:py:mod:`pyev`:

- Method version() is replaced by attribute __version__.
- Removed :py:class:`Stat` watcher type.
- Removed :py:const:`EVFLAG_NOINOTIFY` and :py:const:`EV_STAT` constants.


:py:class:`Timer`:

- Method remaining() is replaced by attribute remaining.


:py:class:`Periodic`:

- Method at() is replaced by attribute at.


:py:class:`Scheduler`:

- Method at() is replaced by attribute at.

diffstat:

 devel/py-pyev/Makefile               |  14 +++++++-------
 devel/py-pyev/PLIST                  |   3 ++-
 devel/py-pyev/distinfo               |  11 ++++++-----
 devel/py-pyev/patches/patch-setup.py |  15 +++++++++++++++
 4 files changed, 30 insertions(+), 13 deletions(-)

diffs (73 lines):

diff -r f5d01e737df3 -r 5b83c46be6c2 devel/py-pyev/Makefile
--- a/devel/py-pyev/Makefile    Wed Jun 08 21:33:18 2016 +0000
+++ b/devel/py-pyev/Makefile    Wed Jun 08 22:34:29 2016 +0000
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.6 2016/06/08 17:43:26 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.7 2016/06/08 22:34:29 wiz Exp $
 
-VERS=          0.8.1-4.04
+VERS=          0.9.0
 PKGNAME=       ${PYPKGPREFIX}-pyev-${VERS}
 DISTNAME=      pyev-${VERS}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyev/}
-USE_LANGUAGES+=        c
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      ${MASTER_SITE_PYPI:=p/pyev/}
+HOMEPAGE=      https://pypi.python.org/pypi/pyev
 COMMENT=       Python interface to libev
 LICENSE=       modified-bsd
-PYDISTUTILSPKG=        yes
 
+USE_LANGUAGES+=        c
+
+BUILDLINK_API_DEPENDS.libev+=  libev>=4.15
 .include "../../devel/libev/buildlink3.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f5d01e737df3 -r 5b83c46be6c2 devel/py-pyev/PLIST
--- a/devel/py-pyev/PLIST       Wed Jun 08 21:33:18 2016 +0000
+++ b/devel/py-pyev/PLIST       Wed Jun 08 22:34:29 2016 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2012/09/01 22:11:38 mspo Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/06/08 22:34:29 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/pyev.so
diff -r f5d01e737df3 -r 5b83c46be6c2 devel/py-pyev/distinfo
--- a/devel/py-pyev/distinfo    Wed Jun 08 21:33:18 2016 +0000
+++ b/devel/py-pyev/distinfo    Wed Jun 08 22:34:29 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:29:12 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/06/08 22:34:29 wiz Exp $
 
-SHA1 (pyev-0.8.1-4.04.tar.gz) = 008099fe6d2a44a851b564ea9d4a6470326be357
-RMD160 (pyev-0.8.1-4.04.tar.gz) = d5dbda1dce3f58c09c3c986b742fae45323b02f2
-SHA512 (pyev-0.8.1-4.04.tar.gz) = 59fd8564445822c12032889c826ad148b15544462aa72d4658cc5887b5af3542e399d2d47767f935f8638836f9ba954e4c8ceef6f5f630e3ee035ba96d339e1d
-Size (pyev-0.8.1-4.04.tar.gz) = 623423 bytes
+SHA1 (pyev-0.9.0.tar.gz) = a3df00899cf33bfbf108600ef033b86f556e3041
+RMD160 (pyev-0.9.0.tar.gz) = e12c36474aa023fc08c2466f9a422994c13c91c0
+SHA512 (pyev-0.9.0.tar.gz) = 05eafd70b843be8ee84a9a384fea9f222445930de00c5a6ac38c6e798f22165914fab3825be8e98e84fa68fdfe9e477718190a6939737667868b4badeb1eafa8
+Size (pyev-0.9.0.tar.gz) = 223943 bytes
+SHA1 (patch-setup.py) = 03d6a93fe99e493d6ab6d864b3fa95b41044e3cb
diff -r f5d01e737df3 -r 5b83c46be6c2 devel/py-pyev/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyev/patches/patch-setup.py      Wed Jun 08 22:34:29 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2016/06/08 22:34:29 wiz Exp $
+
+Remove broken version test.
+pkgsrc makes sure we have new enough version.
+
+--- setup.py.orig      2013-06-19 13:20:33.000000000 +0000
++++ setup.py
+@@ -54,7 +54,6 @@ if "sdist" not in argv:
+     python_version = python_version()
+     major = python_version[0]
+     check_version(python_version, min_python_versions[major], "Python{0}".format(major))
+-    check_version(libev_version(), min_libev_version, "libev")
+ 
+ 
+ PYEV_VERSION = "\"{0}\"".format(pyev_version)



Home | Main Index | Thread Index | Old Index