mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
python3-automat: Upgrade 20.2.0 -> 22.10.0
Upgrade to release 22.10.0: - Added double-spaces after embedded youtube links - Add explanation for how to use assert to pacify mypy - Allow enter to have a default - CI improvements Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
-53
@@ -1,53 +0,0 @@
|
|||||||
From 4fb6bbfbc53428fe5d38ec3e04bb4fd187b2fd45 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Derek Straka <derek@asterius.io>
|
|
||||||
Date: Fri, 22 Dec 2017 09:07:00 -0500
|
|
||||||
Subject: [PATCH] setup.py: remove the dependency on m2r
|
|
||||||
|
|
||||||
The dependency on m2r is removed here as it only provides the
|
|
||||||
long_description value that is optional. This item is just the
|
|
||||||
text that would be present on PyPi, so it doesn't provide much
|
|
||||||
value in this case
|
|
||||||
|
|
||||||
Upstream-Status: Inappropriate (OE specific)
|
|
||||||
|
|
||||||
Signed-off-by: Derek Straka <derek@asterius.io>
|
|
||||||
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
|
|
||||||
---
|
|
||||||
setup.py | 10 ----------
|
|
||||||
1 file changed, 10 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
|
||||||
index 3fb7fdb..245d69a 100644
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -4,14 +4,6 @@ Setup file for automat
|
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
|
||||||
|
|
||||||
-try:
|
|
||||||
- from m2r import parse_from_file
|
|
||||||
- long_description = parse_from_file('README.md')
|
|
||||||
-except(IOError, ImportError):
|
|
||||||
- print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n")
|
|
||||||
- import io
|
|
||||||
- long_description = io.open('README.md', encoding="utf-8").read()
|
|
||||||
-
|
|
||||||
setup(
|
|
||||||
name='Automat',
|
|
||||||
use_scm_version=True,
|
|
||||||
@@ -19,12 +11,10 @@ setup(
|
|
||||||
description="""
|
|
||||||
Self-service finite-state machines for the programmer on the go.
|
|
||||||
""".strip(),
|
|
||||||
- long_description=long_description,
|
|
||||||
packages=find_packages(exclude=[]),
|
|
||||||
package_dir={'automat': 'automat'},
|
|
||||||
setup_requires=[
|
|
||||||
'setuptools-scm',
|
|
||||||
- 'm2r',
|
|
||||||
],
|
|
||||||
install_requires=[
|
|
||||||
"attrs>=19.2.0",
|
|
||||||
--
|
|
||||||
2.17.1
|
|
||||||
|
|
||||||
+1
-6
@@ -3,15 +3,10 @@ HOMEPAGE = "https://github.com/glyph/Automat"
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "d6cef9886b037b8857bfbc686f3ae30a"
|
SRC_URI[sha256sum] = "e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e"
|
||||||
SRC_URI[sha256sum] = "7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33"
|
|
||||||
|
|
||||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||||
|
|
||||||
SRC_URI:append = " \
|
|
||||||
file://0001-setup.py-remove-the-dependency-on-m2r.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
PYPI_PACKAGE = "Automat"
|
PYPI_PACKAGE = "Automat"
|
||||||
inherit pypi setuptools3
|
inherit pypi setuptools3
|
||||||
|
|
||||||
Reference in New Issue
Block a user