]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - pakfire/patches/0003-macros-Add-python-variables.patch
pakfire: Update 0.9.24.
[people/pmueller/ipfire-3.x.git] / pakfire / patches / 0003-macros-Add-python-variables.patch
diff --git a/pakfire/patches/0003-macros-Add-python-variables.patch b/pakfire/patches/0003-macros-Add-python-variables.patch
deleted file mode 100644 (file)
index e46d866..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From b59029f9d6c226a70f333e52db43dd62fb89dcc8 Mon Sep 17 00:00:00 2001
-From: Michael Tremer <michael.tremer@ipfire.org>
-Date: Tue, 2 Oct 2012 22:07:24 +0200
-Subject: [PATCH 3/4] macros: Add python variables.
-
----
- macros/python.macro | 15 +++++++++++++++
- 1 file changed, 15 insertions(+)
- create mode 100644 macros/python.macro
-
-diff --git a/macros/python.macro b/macros/python.macro
-new file mode 100644
-index 0000000..1b417f2
---- /dev/null
-+++ b/macros/python.macro
-@@ -0,0 +1,15 @@
-+# A bunch of predefined things for Python.
-+
-+# Python 3 constants.
-+python3 = /usr/bin/python3
-+
-+python3_sitearch = %(%{python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
-+python3_sitelib  = %(%{python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
-+python3_version  = %(%{python3} -c "import sys; sys.stdout.write(sys.version[:3])")
-+
-+# Python 2 constants.
-+python = /usr/bin/python2
-+
-+python_sitearch = %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
-+python_sitelib  = %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
-+python_version  = %(%{python} -c "import sys; sys.stdout.write(sys.version[:3])")
--- 
-1.7.11.4
-