~alpine/devel

[alpine-devel] abuild and subpackage split functions

Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20130220132756.32eef5c7@ncopa-desktop.alpinelinux.org>
Sender timestamp
1361363276
DKIM signature
missing
Download raw message
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@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)