1 |
commit: 0d9d7df9b0cda2bb8fd679493f70c269f51848af |
2 |
Author: A. Tammy <epsilon-0 <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Sun Sep 27 17:19:33 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Sun Sep 27 17:22:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d9d7df9 |
7 |
|
8 |
README expansion |
9 |
|
10 |
update the README to be more informative and |
11 |
user friendly |
12 |
|
13 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
14 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
15 |
|
16 |
README.md | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- |
17 |
1 file changed, 93 insertions(+), 18 deletions(-) |
18 |
|
19 |
diff --git a/README.md b/README.md |
20 |
index f328e252f..ba5175935 100644 |
21 |
--- a/README.md |
22 |
+++ b/README.md |
23 |
@@ -1,39 +1,114 @@ |
24 |
-# [Gentoo Science](https://wiki.gentoo.org/wiki/Project:Science/Overlay) Overlay |
25 |
+# The [Gentoo Science Project](https://wiki.gentoo.org/wiki/Project:Science) Repository |
26 |
[![Build Status](https://travis-ci.com/gentoo/sci.svg?branch=master)](https://travis-ci.com/gentoo/sci) |
27 |
|
28 |
-This is a Gentoo Linux [ebuild repository](https://wiki.gentoo.org/wiki/Ebuild_repository) which provides numerous scientific software packages. |
29 |
+<table> |
30 |
+<tr> |
31 |
+<td width="69%"> |
32 |
|
33 |
-## Install |
34 |
+**This is an official mirror of the Gentoo Science Projects [ebuild repository](https://wiki.gentoo.org/wiki/Ebuild_repository) which provides numerous scientific software packages.** |
35 |
|
36 |
-As per the current [Portage specifications](https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html), ebuild repositories (a.k.a. overlays) should be managed via file collections under `/etc/portage/repos.conf/`. |
37 |
-To enable our overlay without the need for additional software, simply run (as root): |
38 |
+The Gentoo [developer manual](https://devmanual.gentoo.org/) take precedence over any information here. |
39 |
+ |
40 |
+*See [Project:Science](https://wiki.gentoo.org/wiki/Project:Science) for more information on the project.* |
41 |
+ |
42 |
+</td> |
43 |
+<td width="27%" style="border-style:solid; border-radius:10px;"> |
44 |
+ |
45 |
+### Contents |
46 |
+ |
47 |
+1. [Installation and usage](#install) |
48 |
+ - [Manual](#install-manual) |
49 |
+ - [Layman](#install-layman) |
50 |
+2. [Contributor guidelies](#guide) |
51 |
+ |
52 |
+</td> |
53 |
+</tr> |
54 |
+</table> |
55 |
+ |
56 |
+## Install <a name="install"></a> |
57 |
+ |
58 |
+### Manual install <a name="install-manual"></a> |
59 |
+ |
60 |
+As per the current [Portage specifications](https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html), ebuild repositories (a.k.a. overlays) can be managed via file collections under `/etc/portage/repos.conf/`, via the new [plug-in sync system](https://wiki.gentoo.org/wiki/Project:Portage/Sync). |
61 |
+ |
62 |
+To enable our overlay without the need for additional software, you first need to have **git(1)** installed: |
63 |
|
64 |
``` |
65 |
-wget https://gitweb.gentoo.org/proj/sci.git/plain/metadata/science.conf -O /etc/portage/repos.conf/science |
66 |
+emerge --ask --verbose dev-vcs/git |
67 |
+```` |
68 |
+ |
69 |
+Then you can add the custom entry for the science repository by downloading the [science.conf](metadata/science.conf) file |
70 |
+ |
71 |
+``` |
72 |
+wget https://gitweb.gentoo.org/proj/sci.git/plain/metadata/science.conf \ |
73 |
+ -O /etc/portage/repos.conf/science |
74 |
``` |
75 |
|
76 |
-To start using the overlay you now only need to get the ebuilds, via `emerge --sync`. |
77 |
+To start using the overlay you now only need to sync the overlay, via |
78 |
|
79 |
-### BLAS and LAPACK |
80 |
+``` |
81 |
+emaint sync --repo science |
82 |
+``` |
83 |
|
84 |
-[The BLAS and LAPACK switching framework](https://wiki.gentoo.org/wiki/Blas-lapack-switch) |
85 |
-in ::gentoo has been implemented. The Science overlay will no longer |
86 |
-carry blas and lapack ebuilds. |
87 |
+or the traditional |
88 |
+ |
89 |
+``` |
90 |
+emerge --sync |
91 |
+``` |
92 |
|
93 |
-### Uninstall |
94 |
+### Manual uninstall |
95 |
|
96 |
-To uninstall the overlay run (again, as root): |
97 |
+To uninstall the overlay simply run: |
98 |
|
99 |
``` |
100 |
rm /etc/portage/repos.conf/science |
101 |
rm /var/db/repos/science -rf |
102 |
``` |
103 |
|
104 |
-## Support |
105 |
+### Layman install <a name="install-layman"></a> |
106 |
|
107 |
-You can ask for help on [Freenode IRC](https://www.gentoo.org/get-involved/irc-channels/) in `#gentoo-science`. |
108 |
-Alternatively you can report bugs on the [GitHub issues page](https://github.com/gentoo/sci/issues). |
109 |
+You can also install the overlay via the [layman](https://wiki.gentoo.org/wiki/Layman) overlay manager |
110 |
|
111 |
-## Contribute |
112 |
+``` |
113 |
+layman --add science |
114 |
+``` |
115 |
|
116 |
-Please fork! We will merge! See [our contributing guide](https://github.com/gentoo/sci/blob/master/CONTRIBUTING.md). |
117 |
+### Layman uninstall |
118 |
+ |
119 |
+To delete the overlay run |
120 |
+ |
121 |
+``` |
122 |
+layman --delete science |
123 |
+``` |
124 |
+ |
125 |
+### Using packages from ::science |
126 |
+ |
127 |
+To enable the packges from `::science` you need to make sure that you are accepting the `~${ARCH}` keywords for your respective arch. |
128 |
+ |
129 |
+Make sure that the `/etc/portage/package.accept_keywords/` folder exists and run |
130 |
+ |
131 |
+``` |
132 |
+printf '*/*::science ~%s' "$(portageq envvar ARCH)" >> /etc/portage/package.accept_keywords/SCIENCE |
133 |
+``` |
134 |
+ |
135 |
+## Generic guidelines for contributors <a name="guide"></a> |
136 |
+ |
137 |
+If you fork, we will merge! |
138 |
+We are always going to welcome new contributors and love expanding our collection. |
139 |
+ |
140 |
+For basic guidelines please see our [contributing guide](CONTRIBUTING.md). |
141 |
+ |
142 |
+ |
143 |
+The [GURU Project](https://wiki.gentoo.org/wiki/Project:GURU) has created excellent documentation for potential contributors. |
144 |
+We highly advise you to give them a read along with other general Gentoo guidelines |
145 |
+- GURU guidelines - https://wiki.gentoo.org/wiki/Project:GURU#The_regulations |
146 |
+- Contributing to Gentoo - https://wiki.gentoo.org/wiki/Contributing_to_Gentoo |
147 |
+- Gentoo Developers Manual - https://devmanual.gentoo.org/ |
148 |
+ |
149 |
+In addition to the above guidelines please make sure that if you submitting a new package, please add the Science Project as an additional maintainer to the package. |
150 |
+For an example, take a look at the metadata for the [Numba](dev-python/numba) package - [dev-python/numba/metadata.xml](dev-python/numba/metadata.xml) |
151 |
+ |
152 |
+## Support |
153 |
+ |
154 |
+You can ask for help on [Freenode IRC](https://www.gentoo.org/get-involved/irc-channels/) in [**#gentoo-science**](http://webchat.freenode.net/?channels=gentoo-science). |
155 |
+Alternatively you can report bugs on the [GitHub issues page](https://github.com/gentoo/sci/issues). |