Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.package
Commits
55672adf
Commit
55672adf
authored
Mar 07, 2014
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
obs: Use python2 for arch linux.
parent
e5042eb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
obs/templates/Makefile.in
obs/templates/Makefile.in
+2
-1
obs/templates/PKGBUILD.in
obs/templates/PKGBUILD.in
+5
-4
No files found.
obs/templates/Makefile.in
View file @
55672adf
...
...
@@ -4,6 +4,7 @@
VERSION
=
%VERSION%
RECIPE_VERSION
=
%RECIPE_VERSION%
PY
=
$(PYTHON)
INSTALL_DIRECTORY
=
$(DESTDIR)
/opt/slapos
TARGET_DIRECTORY
=
/opt/slapos
BUILD_ROOT_DIRECTORY
:=
$(
shell
pwd
)
/build
...
...
@@ -25,7 +26,7 @@ build-stamp:
@echo 'Preparing source tarball (recipe version
:
$(RECIPE_VERSION))'
cd
$(BUILD_DIRECTORY)
&&
\
./bin/buildout
-v
$(PY)
./bin/buildout
-v
@touch
build-stamp
...
...
obs/templates/PKGBUILD.in
View file @
55672adf
# Maintainer: Rafael Monnerat <rafael@nexedi.com>
pkgname=slapos-node
pkgver=%VERSION%+%RECIPE_VERSION%+%RELEASE%
pkgdesc="Slapos client"
pkgdesc="Slapos node"
pkgrel=1
arch=('x86_64' 'i686')
url="http://www.slapos.org"
license=('GPL')
depends=('gcc' 'make' 'patch' 'wget' 'python2' 'python2-distribute' 'bridge-utils')
makedepends=('gcc' 'make' 'patch' 'wget' 'python2' 'python2-distribute' 'chrpath')
makedepends=('gcc' 'make' 'patch' 'wget' 'python2' 'python2-distribute' 'chrpath'
'net-tools'
)
install='slapos-node.install'
source=($pkgname_$pkgver.tar.gz)
md5sums=(
) #generate with 'makepkg -g'
md5sums=(
%SOURCEMD5)
build() {
cd "$srcdir/$pkgname_$pkgver"
make
make
PYTHON=python2
}
package() {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment