aboutsummaryrefslogtreecommitdiff
path: root/docs/source/installation.rst
blob: 9de19d4a784f2e3636573d0d1191e500bb85eec2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Installation
************

Requirements
============

* Solaris >= 11.0
* Python == 2.7


Getting ipsutils
================

Clone ipsutils git repository
-----------------------------

::

   git clone http://bitbucket.org/jhunkeler/ipsutils.git
   cd ipsutils


Generate ipsutils build environment
-----------------------------------

::

   PYTHONPATH=. ./ipsbuild-setuptree.py


Create source distribution
--------------------------

::

   python2.7 setup.py build sdist


Copy resulting tarball to ipsutils build SOURCES directory
----------------------------------------------------------

::

   cp dist/ipsutils-VERSION.tar.gz ~/ipsutils/SOURCES


Build ipsutils
==============

::

   PYTHONPATH=. ./ipsbuild.py ipsbuild.ips


Publish ipsutils to your local repository
-----------------------------------------

::

   pkgsend publish \
      -s /your/repo \
      -d ~/ipsutils/PKGS/ipsutils-VERSION/root \
      ~/ipsutils/PKGS/ipsutils-VERSION/ipsutils-VERSION.res


Install ipsutils from your local repository
-------------------------------------------

::

   pkg install ipsutils