Browse Source

python-enum34: update to 1.1.6

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 8 years ago
parent
commit
32516c5c89
2 changed files with 24 additions and 24 deletions
  1. +5
    -5
      lang/python-enum34/Makefile
  2. +19
    -19
      lang/python-enum34/patches/001-omit-docs.patch

+ 5
- 5
lang/python-enum34/Makefile View 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


+ 19
- 19
lang/python-enum34/patches/001-omit-docs.patch View 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',
url='https://pypi.python.org/pypi/enum34',
packages=['enum'],
- package_data={
- 'enum' : [
- 'LICENSE',
- 'README',
- 'doc/enum.rst',
- 'doc/enum.pdf',
- 'test_enum.py',
- ]
- },
license='BSD License',
description='Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4',
long_description=long_desc,
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',
url='https://bitbucket.org/stoneleaf/enum34',
packages=['enum'],
- package_data={
- 'enum' : [
- 'LICENSE',
- 'README',
- 'doc/enum.rst',
- 'doc/enum.pdf',
- 'test.py',
- ]
- },
license='BSD License',
description='Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4',
long_description=long_desc,

Loading…
Cancel
Save