summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorTobias Pflug <tobias.pflug@holidaycheck.com>2016-04-27 12:25:22 +0200
committerTobias Pflug <tobias.pflug@holidaycheck.com>2016-04-27 12:25:22 +0200
commitc893105f1f4497225a70961513726f5243a242f7 (patch)
treef2475e21e141c7b1daa878c658bbadea735e7fe3 /pkgs/development/python-modules
parent7dcf75bdd4eb85bce2506eb95d338a5da5e9a5e9 (diff)
pyuv: 0.11.5 -> 1.2.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']
)]
)
-
+