python-pyrpm/0001-add-setup.py.patch

26 lines
682 B
Diff
Raw Normal View History

2022-11-28 11:20:27 +08:00
--- c/setup.py 1970-01-01 08:00:00.000000000 +0800
+++ a/setup.py 2022-11-25 17:53:10.910857335 +0800
2023-04-11 17:20:58 +08:00
@@ -0,0 +1,22 @@
2022-11-28 11:20:27 +08:00
+#!/usr/bin/env python
+
+from setuptools import setup
+
2023-04-11 17:20:58 +08:00
+packages = \
+['pyrpm']
+
+package_data = \
+{'': ['*']}
+
2022-11-28 11:20:27 +08:00
+if __name__ == "__main__":
+ setup(
+ name = "python-rpm-spec",
2023-04-11 17:20:58 +08:00
+ version = "0.14.1",
+ description='python-rpm-spec is a Python library for parsing RPM spec files.',
+ author='Benjamin Kircher',
+ author_email='bkircher@0xadd.de',
+ url='https://github.com/bkircher/python-rpm-spec',
+ packages=packages,
+ package_data=package_data,
+ python_requires='>=3.3',
2022-11-28 11:20:27 +08:00
+ )