[pacman-dev] [PATCH 0/5] Splitting up makepkg into libmakepkg

awhetter.2011 at my.bristol.ac.uk awhetter.2011 at my.bristol.ac.uk
Sun Aug 25 08:14:18 EDT 2013


From: Ashley Whetter <awhetter.2011 at my.bristol.ac.uk>

In preparation for creating a makepkg test suite I've started splitting makepkg
up into libmakepkg.
Currently I've only split out the downloading and extracting functions.
Everything else has gone into utils.

I decided to keep get_url and get_downloadclient out of the downloads library
because they depend on the format of PKGBUILDs.
So the new dependency graph looks like this:
http://files.awhetter.co.uk/permanent/makepkg_resolved_deps_v2.png
Whereas the old one looked like this:
http://files.awhetter.co.uk/permanent/makepkg_resolved_deps.png

Allan McRae (2):
  makepkg: run locally with libtool style wrapper
  makepkg: add LIBRARY variable

Ashley Whetter (3):
  Moved makepkg functions into a library
  Moved makepkg download functions into libmakepkg
  Moved makepkg extraction functions into libmakepkg

 scripts/.gitignore                   |    4 +
 scripts/Makefile.am                  |   54 +-
 scripts/libmakepkg/downloads.sh.in   |  287 ++++
 scripts/libmakepkg/extractions.sh.in |  293 ++++
 scripts/libmakepkg/utils.sh.in       | 1946 +++++++++++++++++++++++++++
 scripts/makepkg-wrapper.sh.in        |   23 +
 scripts/makepkg.sh.in                | 2458 +---------------------------------
 7 files changed, 2611 insertions(+), 2454 deletions(-)
 create mode 100644 scripts/libmakepkg/downloads.sh.in
 create mode 100644 scripts/libmakepkg/extractions.sh.in
 create mode 100644 scripts/libmakepkg/utils.sh.in
 create mode 100644 scripts/makepkg-wrapper.sh.in

-- 
1.8.4



More information about the pacman-dev mailing list