python-kiwisolver/fix-kiwisolver-version.patch

43 lines
1.6 KiB
Diff
Raw Normal View History

2022-08-03 23:01:25 +08:00
--- kiwisolver-1.4.4/setup.py 2022-07-16 04:13:35.000000000 +0800
+++ kiwisolver-1.4.1/setup.py 2022-03-27 23:36:05.000000000 +0800
@@ -44,6 +44,39 @@
setup(
+ # FIXME remove once setuptool supports PEP 621
+ name="kiwisolver",
+ author="The Nucleic Development Team",
+ author_email="sccolbert@gmail.com",
+ url="https://github.com/nucleic/kiwi",
+ description="A fast implementation of the Cassowary constraint solver",
+ long_description=open("README.rst").read(),
+ license="BSD",
+ classifiers=[
+ # https://pypi.org/pypi?%3Aaction=list_classifiers
+ "License :: OSI Approved :: BSD License",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: Implementation :: CPython",
+ "Programming Language :: Python :: Implementation :: PyPy",
+ ],
+ python_requires=">=3.7",
+ # FIXME end of remove once setuptool supports PEP 621
+ setup_requires=[
+ "setuptools>=42",
+ "wheel",
+ "setuptools_scm[toml]>=3.4.3",
+ "cppy>=1.2.0",
+ ],
+ package_dir={"": "py"},
+ packages=["kiwisolver"],
+ install_requires=["typing_extensions;python_version<'3.8'"],
ext_modules=ext_modules,
cmdclass={"build_ext": CppyBuildExt},
+ include_package_data=False,
+ package_data={"kiwisolver": ["py.typed", "*.pyi"]},
)