freebsd-ports/databases/rrdtool/files/patch-bindings_python_setup.py
Nuno Teixeira 312867a8ea databases/rrdtool: Adopt/Update to 1.8.0
- cleanup Makefile
 - updated MASTER_SITES
 - updated WWW url

ChangeLog:	https://github.com/oetiker/rrdtool-1.x/releases
2022-08-03 23:57:04 +01:00

14 lines
423 B
Python

--- bindings/python/setup.py.orig 2022-03-14 14:27:57 UTC
+++ bindings/python/setup.py
@@ -2,10 +2,7 @@ import sys
import os
import sys
-try:
- from setuptools import setup, Extension
-except ImportError:
- sys.exit('The setup requires setuptools.')
+from distutils.core import setup, Extension
TOP_SRCDIR = os.environ.get('ABS_TOP_SRCDIR', '../..')
TOP_BUILDDIR = os.environ.get('ABS_TOP_BUILDDIR', '../..')