Mail archive
alpine-devel

[alpine-devel] abuild and subpackage split functions

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 20 Feb 2013 13:27:56 +0100

Hi,

I have been thinking of adding support for new way of defining split
functions for subpackages. Basically, use the subpackage name as is but
with the forbidden chars (-, + and .) changed to an underscore. eg:

pkgname="foo-pkg"
subpackages="$pkgname-subpkg py-$pkgname"
...

foo_pkg_subpkg() {
        ...
}

py_foo_pkg() {
        ...
}

What I am trying to accomplish is to simplify, so it is easy to
understand what is going on.

We will need to continue support the way it works now, for compatibility.

What do you think about a such change? will it make things simpler or
more confusing?

The fact that we need compatibility makes me think it will complicate
things more than simplify.

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Feb 20 2013 - 13:27:56 UTC