[Kimchi-devel] [PATCH 2/6 v2] Adding python-dev, python-pip and cython & libsass libs to compile SCSS source in the new-ui
sguimaraes943 at gmail.com
sguimaraes943 at gmail.com
Thu Oct 8 18:29:40 UTC 2015
From: samhenri <samuel.guimaraes at eldorado.org.br>
Adding python-dev and python-pip as build dependencies and cython and libsass libraries to compile the scss source in the new-ui. These dependencies were also added to Kimchi.
Signed-off-by: samhenri <samuel.guimaraes at eldorado.org.br>
---
Makefile.am | 2 ++
contrib/DEBIAN/control.in | 4 +++-
contrib/wok.spec.fedora.in | 2 ++
contrib/wok.spec.suse.in | 2 ++
docs/README.md | 6 +++---
src/wok/plugins/kimchi/contrib/DEBIAN/control.in | 4 +++-
src/wok/plugins/kimchi/contrib/kimchi.spec.fedora.in | 2 ++
src/wok/plugins/kimchi/contrib/kimchi.spec.suse.in | 2 ++
8 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 3d3b5d6..8d2f346 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,6 +65,8 @@ all-local:
$(MKDIR_P) $$dir ; \
ln -sf ../../../po/$$L.gmo $$dir/wok.mo ; \
done < po/LINGUAS
+ pip install cython --no-input
+ pip install libsass --no-input --upgrade
#
# Packaging helpers
diff --git a/contrib/DEBIAN/control.in b/contrib/DEBIAN/control.in
index 50dc837..7dc4959 100644
--- a/contrib/DEBIAN/control.in
+++ b/contrib/DEBIAN/control.in
@@ -18,6 +18,8 @@ Depends: python-cherrypy3 (>= 3.2.0),
Build-Depends: libxslt,
openssl,
python-lxml,
- pkg-config
+ pkg-config,
+ python-dev,
+ python-pip
Maintainer: Aline Manera <alinefm at br.ibm.com>
Description: Wok - Webserver Originated from Kimchi
diff --git a/contrib/wok.spec.fedora.in b/contrib/wok.spec.fedora.in
index 42a024a..8941ff7 100644
--- a/contrib/wok.spec.fedora.in
+++ b/contrib/wok.spec.fedora.in
@@ -22,6 +22,8 @@ Requires: open-sans-fonts
BuildRequires: libxslt
BuildRequires: openssl
BuildRequires: python-lxml
+BuildRequires: python-dev
+BuildRequires: python-pip
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%global with_systemd 1
diff --git a/contrib/wok.spec.suse.in b/contrib/wok.spec.suse.in
index 7dc67ad..161b996 100644
--- a/contrib/wok.spec.suse.in
+++ b/contrib/wok.spec.suse.in
@@ -23,6 +23,8 @@ Requires: google-opensans-fonts
BuildRequires: libxslt-tools
BuildRequires: openssl
BuildRequires: python-lxml
+BuildRequires: python-dev
+BuildRequires: python-pip
%if 0%{?suse_version} == 1100
Requires: python-ordereddict
diff --git a/docs/README.md b/docs/README.md
index f0b8697..6e53de3 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -53,7 +53,7 @@ Install Dependencies
python-cherrypy python-cheetah python-imaging\
PyPAM m2crypto python-jsonschema rpm-build \
python-psutil python-ldap python-lxml \
- libxslt nginx openssl
+ libxslt nginx openssl python-pip
# If using RHEL, install the following additional packages:
@@ -79,7 +79,7 @@ channel at RHN Classic or Red Hat Satellite.
python-cherrypy3 python-cheetah python-imaging \
python-pam python-m2crypto python-jsonschema \
python-psutil python-ldap python-lxml nginx \
- libxslt openssl
+ libxslt openssl python-pip
Packages version requirement:
python-jsonschema >= 1.3.0
@@ -94,7 +94,7 @@ channel at RHN Classic or Red Hat Satellite.
python-CherryPy python-Cheetah python-pam \
python-imaging python-M2Crypto python-jsonschema \
rpm-build python-psutil python-ldap python-lxml \
- libxslt-tools python-xml nginx openssl
+ libxslt-tools python-xml nginx openssl python-pip
Packages version requirement:
python-psutil >= 0.6.0
diff --git a/src/wok/plugins/kimchi/contrib/DEBIAN/control.in b/src/wok/plugins/kimchi/contrib/DEBIAN/control.in
index cad08af..6e03049 100644
--- a/src/wok/plugins/kimchi/contrib/DEBIAN/control.in
+++ b/src/wok/plugins/kimchi/contrib/DEBIAN/control.in
@@ -26,6 +26,8 @@ Depends: wok,
spice-html5,
python-magic
Build-Depends: libxslt,
- python-lxml
+ python-lxml,
+ python-dev,
+ python-pip
Maintainer: Aline Manera <alinefm at br.ibm.com>
Description: Kimchi web application
diff --git a/src/wok/plugins/kimchi/contrib/kimchi.spec.fedora.in b/src/wok/plugins/kimchi/contrib/kimchi.spec.fedora.in
index 337b807..f56d235 100644
--- a/src/wok/plugins/kimchi/contrib/kimchi.spec.fedora.in
+++ b/src/wok/plugins/kimchi/contrib/kimchi.spec.fedora.in
@@ -31,6 +31,8 @@ Requires: libguestfs-tools
Requires: python-magic
BuildRequires: libxslt
BuildRequires: python-lxml
+BuildRequires: python-dev
+BuildRequires: python-pip
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 19
Requires: spice-html5
diff --git a/src/wok/plugins/kimchi/contrib/kimchi.spec.suse.in b/src/wok/plugins/kimchi/contrib/kimchi.spec.suse.in
index 2d53aa9..64b9025 100644
--- a/src/wok/plugins/kimchi/contrib/kimchi.spec.suse.in
+++ b/src/wok/plugins/kimchi/contrib/kimchi.spec.suse.in
@@ -31,6 +31,8 @@ Requires: guestfs-tools
Requires: python-magic
BuildRequires: libxslt-tools
BuildRequires: python-lxml
+BuildRequires: python-dev
+BuildRequires: python-pip
%if 0%{?suse_version} == 1100
Requires: python-ordereddict
--
1.9.3
More information about the Kimchi-devel
mailing list