app-admin/pulse2-scheduler: delete old and make it python abi compatible

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2144 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-05-01 14:10:30 +00:00
parent 83bbbbc319
commit 0e06dfc88b
10 changed files with 76 additions and 264 deletions

View File

@@ -1,19 +0,0 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-04-07
Initial Package Version: 1.2.0
Origin: me
Upstream Status: corrected
Description: correct setup.py package name typo
diff -Naur pulse2-scheduler-1.2.0.orig/setup.py pulse2-scheduler-1.2.0/setup.py
--- pulse2-scheduler-1.2.0.orig/setup.py 2008-12-09 18:35:55.000000000 +0000
+++ pulse2-scheduler-1.2.0/setup.py 2009-04-07 14:16:31.103465380 +0000
@@ -23,7 +23,7 @@
from distutils.core import setup
setup(
- name = "pulse2-launcher",
+ name = "pulse2-scheduler",
version = "1.0",
url = "http://pulse2.mandriva.org",
author = "Nicolas Rueff",

View File

@@ -0,0 +1,54 @@
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-05-01
Initial Package Version: 1.2.4
Origin: me
Upstream Status: unknown
Description: split install target
diff -Naur pulse2-scheduler-1.2.4.orig/Makefile pulse2-scheduler-1.2.4/Makefile
--- pulse2-scheduler-1.2.4.orig/Makefile 2008-07-17 09:15:28.000000000 +0000
+++ pulse2-scheduler-1.2.4/Makefile 2010-05-01 14:13:26.490870633 +0000
@@ -51,25 +51,38 @@
@echo "Nothing to do"
# Install everything
-install:
+install: install_py install_sbin install_cfg
@# Install directories
@echo ""
@echo "Move old configuration files to $(DESTDIR)$(ETCDIR)$(BACKUP)"
-[ -f $(DESTDIR)$(ETCDIR)/scheduler.ini ] && mv -f $(DESTDIR)$(ETCDIR)/scheduler.ini $(DESTDIR)$(ETCDIR)/scheduler.ini$(BACKUP)
+
+install_nopy: install_sbin install_cfg
+ @# Install directories
@echo ""
- @echo "Creating directories..."
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(SBINDIR)
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR)
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(PYTHON_PREFIX)
+ @echo "Move old configuration files to $(DESTDIR)$(ETCDIR)$(BACKUP)"
+ # -[ -f $(DESTDIR)$(ETCDIR)/scheduler.ini ] && mv -f $(DESTDIR)$(ETCDIR)/scheduler.ini $(DESTDIR)$(ETCDIR)/scheduler.ini$(BACKUP)
+install_py:
+ @echo ""
+ @echo "Creating python directories..."
+ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(PYTHON_PREFIX)
@echo ""
@echo "Install python code in $(DESTDIR)$(PYTHON_PREFIX)"
$(PYTHON) setup.py install --no-compile --prefix $(DESTDIR)$(PYTHON_PREFIX)
+install_sbin:
+ @echo ""
+ @echo "Creating sbin directories..."
+ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(SBINDIR)
@echo ""
@echo "Install SBINFILES in $(DESTDIR)$(SBINDIR)"
$(INSTALL) $(SBINFILES) -m 755 -o root -g root $(DESTDIR)$(SBINDIR)
+install_cfg:
+ @echo ""
+ @echo "Creating config directories..."
+ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR)
@echo ""
@echo "Install CONFILES in $(DESTDIR)$(ETCDIR)"
$(INSTALL) conf/scheduler/scheduler.ini -m 600 -o root -g root $(DESTDIR)$(ETCDIR)