sci-chemistry/PyMca: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/3730
This commit is contained in:
Michael Mair-Keimberger (asterix)
2017-01-31 09:41:30 +01:00
committed by David Seifert
parent d06d23fcff
commit f587cccdf1
2 changed files with 0 additions and 52 deletions
@@ -1,40 +0,0 @@
diff --git a/setup.py b/setup.py
index 0b0fa58..a4fdab6 100755
--- a/setup.py
+++ b/setup.py
@@ -41,34 +41,8 @@ for line in file(os.path.join('PyMca', 'PyMcaMain.py')).readlines():
print "PyMca X-Ray Fluorescence Toolkit %s" % __version__
print
-print "Type 'L' to view the license."
-print "Type 'yes' to accept the terms of the license."
-print "Type 'no' to decline the terms of the license."
-print
-
-while 1:
- try:
- resp = raw_input("Do you accept the terms of the license? ")
- except KeyboardInterrupt:
- raise SystemExit
- except:
- resp = ""
-
- resp = string.lower(string.strip(resp))
-
- if resp == "yes":
- break
-
- if resp == "no":
- sys.exit(1)
-
- if resp == "l":
- os.system("more LICENSE.GPL")
-
-
# Specify all the required PyMca data
-data_files = [('PyMca', ['LICENSE.GPL',
- 'PyMca/Scofield1973.dict',
+data_files = [('PyMca', ['PyMca/Scofield1973.dict',
'PyMca/changelog.txt',
'PyMca/McaTheory.cfg',
'PyMca/PyMcaSplashImage.png',
@@ -1,12 +0,0 @@
diff --git a/PyMca/specfile/src/sfwrite.c b/PyMca/specfile/src/sfwrite.c
index 24df907..93c18e9 100755
--- a/PyMca/specfile/src/sfwrite.c
+++ b/PyMca/specfile/src/sfwrite.c
@@ -55,6 +55,7 @@
*/
#include <SpecFile.h>
#include <SpecFileP.h>
+#include <unistd.h>
/*
* Declarations