python-enum34: update to 1.1.6 2996/head
authorJeffery To <jeffery.to@gmail.com>
Wed, 27 Jul 2016 15:03:09 +0000 (23:03 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 27 Jul 2016 15:03:09 +0000 (23:03 +0800)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python-enum34/Makefile
lang/python-enum34/patches/001-omit-docs.patch

index 351a9eb63bf73b2d17df5ecba8d9575b08532f83..defb8844873c28028c69dcbabc906190f380e143 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2015 OpenWrt.org
+# Copyright (C) 2015-2016 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=enum34
-PKG_VERSION:=1.1.2
+PKG_VERSION:=1.1.6
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://pypi.python.org/packages/source/e/enum34
-PKG_MD5SUM:=025bb71b3f9d2fad15d0ee53e48dc873
+PKG_SOURCE_URL:=https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876
+PKG_MD5SUM:=5f13a0841a61f7fc295c514490d120d0
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=enum/LICENSE
@@ -38,7 +38,7 @@ endef
 
 define PyPackage/python-enum34/filespec
 +|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/enum/test_enum.py
+-|$(PYTHON_PKG_DIR)/enum/test.py
 endef
 
 define Build/Compile
index 7391ac5e08fcb94cbd548be3c00b05b85ba61fe1..cff6c5228976287379c49f20a97b2351c8019052 100644 (file)
@@ -1,19 +1,19 @@
-diff -Nur a/setup.py b/setup.py
---- a/setup.py 2015-11-29 17:31:14.000000000 +0800
-+++ b/setup.py 2015-12-07 18:39:00.863378684 +0800
-@@ -13,15 +13,6 @@
-        version='1.1.1',\r
-        url='https://pypi.python.org/pypi/enum34',\r
-        packages=['enum'],\r
--       package_data={\r
--           'enum' : [\r
--               'LICENSE',\r
--               'README',\r
--               'doc/enum.rst',\r
--               'doc/enum.pdf',\r
--               'test_enum.py',\r
--               ]\r
--           },\r
-        license='BSD License',\r
-        description='Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4',\r
-        long_description=long_desc,\r
+diff -r f24487b45cd0 setup.py
+--- a/setup.py Sun May 15 20:28:23 2016 -0700
++++ b/setup.py Wed Jul 27 22:49:13 2016 +0800
+@@ -63,15 +63,6 @@
+         version='1.1.6',\r
+         url='https://bitbucket.org/stoneleaf/enum34',\r
+         packages=['enum'],\r
+-        package_data={\r
+-            'enum' : [\r
+-                'LICENSE',\r
+-                'README',\r
+-                'doc/enum.rst',\r
+-                'doc/enum.pdf',\r
+-                'test.py',\r
+-                ]\r
+-            },\r
+         license='BSD License',\r
+         description='Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4',\r
+         long_description=long_desc,\r