mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/black: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/17602 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
c381454b18
commit
a42331aa3c
@@ -1,24 +0,0 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 614a8d6..66946b2 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1,6 +1,7 @@
|
||||
# Copyright (C) 2018 Łukasz Langa
|
||||
from setuptools import setup
|
||||
import sys
|
||||
+import os
|
||||
|
||||
assert sys.version_info >= (3, 6, 0), "black requires Python 3.6+"
|
||||
from pathlib import Path # noqa E402
|
||||
@@ -17,10 +18,7 @@ def get_long_description() -> str:
|
||||
|
||||
setup(
|
||||
name="black",
|
||||
- use_scm_version={
|
||||
- "write_to": "_black_version.py",
|
||||
- "write_to_template": 'version = "{version}"\n',
|
||||
- },
|
||||
+ version=os.getenv("MY_PV"),
|
||||
description="The uncompromising code formatter.",
|
||||
long_description=get_long_description(),
|
||||
long_description_content_type="text/markdown",
|
||||
Reference in New Issue
Block a user