From 6e0c99740553235bf059842fa6ca8a8e66be5b95 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 25 Jun 2018 02:30:08 +0800 Subject: [PATCH] python-automat: update to 0.7.0, refresh patches Signed-off-by: Jeffery To --- lang/python/python-automat/Makefile | 4 ++-- .../patches/001-do-not-use-setuptools-scm-m2r.patch | 2 +- lang/python/python-automat/patches/002-omit-visualize.patch | 2 +- lang/python/python-automat/patches/003-omit-tests.patch | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lang/python/python-automat/Makefile b/lang/python/python-automat/Makefile index 8ddaad087..0c0ae5947 100644 --- a/lang/python/python-automat/Makefile +++ b/lang/python/python-automat/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-automat -PKG_VERSION:=0.6.0 +PKG_VERSION:=0.7.0 PKG_RELEASE:=1 PKG_SOURCE:=Automat-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/A/Automat -PKG_HASH:=3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8 +PKG_HASH:=cbd78b83fa2d81fe2a4d23d258e1661dd7493c9a50ee2f1a5b2cac61c1793b0e PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-automat-$(PKG_VERSION) diff --git a/lang/python/python-automat/patches/001-do-not-use-setuptools-scm-m2r.patch b/lang/python/python-automat/patches/001-do-not-use-setuptools-scm-m2r.patch index 46fd24156..babcda4b1 100644 --- a/lang/python/python-automat/patches/001-do-not-use-setuptools-scm-m2r.patch +++ b/lang/python/python-automat/patches/001-do-not-use-setuptools-scm-m2r.patch @@ -26,5 +26,5 @@ - 'm2r', - ], install_requires=[ - "attrs", + "attrs>=16.1.0", "six", diff --git a/lang/python/python-automat/patches/002-omit-visualize.patch b/lang/python/python-automat/patches/002-omit-visualize.patch index bea12d37a..0d68d891f 100644 --- a/lang/python/python-automat/patches/002-omit-visualize.patch +++ b/lang/python/python-automat/patches/002-omit-visualize.patch @@ -1,7 +1,7 @@ --- a/setup.py +++ b/setup.py @@ -27,15 +27,6 @@ setup( - "attrs", + "attrs>=16.1.0", "six", ], - extras_require={ diff --git a/lang/python/python-automat/patches/003-omit-tests.patch b/lang/python/python-automat/patches/003-omit-tests.patch index 8742aa3ef..774b683d8 100644 --- a/lang/python/python-automat/patches/003-omit-tests.patch +++ b/lang/python/python-automat/patches/003-omit-tests.patch @@ -8,7 +8,7 @@ + packages=find_packages(exclude=["*._test", "*._test.*"]), package_dir={'automat': 'automat'}, install_requires=[ - "attrs", + "attrs>=16.1.0", @@ -30,6 +30,7 @@ setup( author='Glyph', author_email='glyph@twistedmatrix.com', @@ -16,4 +16,4 @@ + exclude_package_data={'':['_test/*']}, license="MIT", keywords='fsm finite state machine automata', - ) + classifiers=[