Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37716634
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-klein

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0001-typing-is-not-needed-since-Python-3.5-as-it-s-built-in.patch
Скачать


From 9cb60c46e2880c12474b7e420345dab4162c9ae6 Mon Sep 17 00:00:00 2001
From: Chih-Hsuan Yen <yan12125@gmail.com>
Date: Sat, 8 Jun 2019 11:06:05 +0800
Subject: [PATCH] typing is not needed since Python 3.5 as it's built-in
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index bc1a744..fe1bb57 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ if __name__ == "__main__":
             "six",
             "Tubes",
             "Twisted>=15.5",  # 15.5 is the first version to support Py3.3+
-            "typing",
+            'typing ; python_version<"3.5"',
             "Werkzeug",
             "zope.interface",
         ],
-- 
2.25.2
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin