summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2016-04-28 08:56:31 +0000
committerSander van der Burg <svanderburg@gmail.com>2016-04-28 08:56:31 +0000
commitd76982e18159f02d80cca5ef4fcb14b0dc70f42b (patch)
tree625978c48d71c3d7e75ca151222ec1f40b472051 /pkgs/development/python-modules
parentd27caa486b03781768cacd7f17881f31adfe4ff8 (diff)
parentc893105f1f4497225a70961513726f5243a242f7 (diff)
Merge pull request #14973 from holidaycheck/update-libuv
libuv: 1.7.5 -> 1.9.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pyuv-external-libuv.patch22
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/pyuv-external-libuv.patch b/pkgs/development/python-modules/pyuv-external-libuv.patch
index 33539d9b4b2c..41e169acd5f5 100644
--- a/pkgs/development/python-modules/pyuv-external-libuv.patch
+++ b/pkgs/development/python-modules/pyuv-external-libuv.patch
@@ -1,27 +1,25 @@
diff --git a/setup.py b/setup.py
-index ec0caac..2c1fdb6 100644
+index 5071c3b..4b4a176 100644
--- a/setup.py
+++ b/setup.py
-@@ -6,7 +6,6 @@ try:
+@@ -7,7 +7,6 @@ try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
-from setup_libuv import libuv_build_ext, libuv_sdist
-
-
- __version__ = "0.11.5"
-@@ -32,12 +31,11 @@ setup(name = "pyuv",
+
+
+ def get_version():
+@@ -35,11 +34,10 @@ setup(name = "pyuv",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
- cmdclass = {'build_ext': libuv_build_ext,
- 'sdist' : libuv_sdist},
- ext_modules = [Extension('pyuv',
+ packages = ['pyuv'],
+ ext_modules = [Extension('pyuv._cpyuv',
sources = ['src/pyuv.c'],
-+ libraries = ['uv'],
- define_macros=[('MODULE_VERSION', __version__),
-- ('LIBUV_REVISION', libuv_build_ext.libuv_revision)]
-+ ('LIBUV_REVISION', 'unknown')]
++ libraries = ['uv']
)]
)
-
+