summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-December/020780.html
blob: 99accb494a7a055c448663efa1997b778a46021f (plain)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Python packaging policy
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Python%20packaging%20policy&In-Reply-To=%3C50CA3C11.2080507%40rhul.ac.uk%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="020777.html">
   <LINK REL="Next"  HREF="020778.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Python packaging policy</H1>
    <B>Pierre-Malo Deni&#233;lou</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Python%20packaging%20policy&In-Reply-To=%3C50CA3C11.2080507%40rhul.ac.uk%3E"
       TITLE="[Mageia-dev] Python packaging policy">pierre-malo.denielou at rhul.ac.uk
       </A><BR>
    <I>Thu Dec 13 21:35:29 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="020777.html">[Mageia-dev] Python packaging policy
</A></li>
        <LI>Next message: <A HREF="020778.html">[Mageia-dev] service dm restart go on tty3
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20780">[ date ]</a>
              <a href="thread.html#20780">[ thread ]</a>
              <a href="subject.html#20780">[ subject ]</a>
              <a href="author.html#20780">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 13/12/12 06:53, Joseph Wang wrote:
&gt;<i> Looking over this page:
</I>&gt;<i>
</I>&gt;<i> <A HREF="https://wiki.mageia.org/en/Python_policy">https://wiki.mageia.org/en/Python_policy</A>
</I> &gt;
&gt;<i> * I'd like to add a rule (which is followed by current packages) that
</I>&gt;<i> the prefix &quot;py&quot; should
</I>&gt;<i> generally be removed from a package name.  For example pyopencl should be called
</I>&gt;<i> python-opencl.  This is the current convention for packages in mageia.
</I>
I think it's too strong. There will necessarily be exceptions, like pypes.

For the package names, I can give you my experience as ocaml packager. 
Our policy is roughly the same as for python:
- executables keep their upstream names (ex. js_of_ocaml, camlp5, ...)
- libraries take the 'ocaml-' prefix followed by the upstream name as 
much as possible (since these upstream names are known). It leads to 
packages like ocaml-ocamlgraph or ocaml-ocamlnet since ocamlgraph and 
ocamlnet are well-known libs in the community. However when the library 
is just a wrapper for a well-known C library, we drop extra ocaml 
prefixes or suffixes (ex: upstream sqlite3-ocaml becomes ocaml-sqlite3).

So overall, no policy should be too strict: the need for uniformity 
should not make it too hard for users!

&gt;<i> * Also for grouping.  I'd like to add a rule that Development/Python
</I>&gt;<i> is intended for packages
</I>&gt;<i> which provide general development libraries for python, and if the
</I>&gt;<i> library fits into an obvious
</I>&gt;<i> other category (i.e. python routines for cosmology calculations) those
</I>&gt;<i> should go into the
</I>&gt;<i> other category.
</I>
I don't really agree. The current group policy is the following:
- if it's an application/data -&gt; in the corresponding group.
- if it's a library for development -&gt; in Development/%{the language}.
- if it's a library not meant for anyone to install independently
   -&gt; in System/Libraries.
I'm not sure users would find a benefit to have python for cosmology in 
the Astronomy section and python for Maths in the Maths section and so on.

What I would encourage you to do however is to create a cosmology wiki 
page that describes all the cosmology-features of Mageia.
Best,
-- 
Malo
</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="020777.html">[Mageia-dev] Python packaging policy
</A></li>
	<LI>Next message: <A HREF="020778.html">[Mageia-dev] service dm restart go on tty3
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20780">[ date ]</a>
              <a href="thread.html#20780">[ thread ]</a>
              <a href="subject.html#20780">[ subject ]</a>
              <a href="author.html#20780">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>