diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-28 13:58:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-28 13:59:05 +0000 |
commit | 913367e80cb03cb6e762ec4e25df65b7b59e16b6 (patch) | |
tree | f7a05f36a214a8ca63c391359bbbcd046283d431 /main/lua-aports | |
parent | 1f1aa79f32380433c0c8f76630db91c168437de3 (diff) | |
download | aports-913367e80cb03cb6e762ec4e25df65b7b59e16b6.tar.bz2 aports-913367e80cb03cb6e762ec4e25df65b7b59e16b6.tar.xz |
main/lua-aports: print version number of package that is building
Diffstat (limited to 'main/lua-aports')
-rw-r--r-- | main/lua-aports/0001-buildrepo-show-pkgversion-of-packages.patch | 28 | ||||
-rw-r--r-- | main/lua-aports/APKBUILD | 15 |
2 files changed, 38 insertions, 5 deletions
diff --git a/main/lua-aports/0001-buildrepo-show-pkgversion-of-packages.patch b/main/lua-aports/0001-buildrepo-show-pkgversion-of-packages.patch new file mode 100644 index 0000000000..b3b0bb7f36 --- /dev/null +++ b/main/lua-aports/0001-buildrepo-show-pkgversion-of-packages.patch @@ -0,0 +1,28 @@ +From 1271891d88af3e0571f8a10c97f5a78795ea2ee9 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Fri, 28 Mar 2014 13:25:35 +0000 +Subject: [PATCH] buildrepo: show pkgversion of packages + +--- + buildrepo.lua | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/buildrepo.lua b/buildrepo.lua +index ec92572..21b444b 100755 +--- a/buildrepo.lua ++++ b/buildrepo.lua +@@ -179,9 +179,9 @@ for _,repo in pairs(args) do + for aport in db:each_in_build_order(pkgs) do + tried = tried + 1 + local totally_built = stats[repo].relevant_aports - #pkgs + built +- io.write(("%d/%d %d/%d %s\n"):format(tried, #pkgs, ++ io.write(("%d/%d %d/%d %s %s\n"):format(tried, #pkgs, + totally_built, stats[repo].relevant_aports, +- aport.pkgname)) ++ aport.pkgname, aport.pkgver)) + if not db:known_deps_exists(aport) then + warn("%s: Skipped due to missing dependencies", aport.pkgname) + elseif build_aport(aport, repodest, logdir, opts.s) then +-- +1.9.1 + diff --git a/main/lua-aports/APKBUILD b/main/lua-aports/APKBUILD index 456eaf4d2d..74ecd96a6d 100644 --- a/main/lua-aports/APKBUILD +++ b/main/lua-aports/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lua-aports pkgver=0.1 -pkgrel=0 +pkgrel=1 pkgdesc="Lua modules for parsing aports tree" url="http://dev.alpinelinux.org/archive/lua-aports/" arch="noarch" @@ -12,7 +12,9 @@ makedepends="$depends_dev lua5.2-filesystem lua5.2" install="" replaces="abuild" subpackages="" -source="http://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz" +source="http://dev.alpinelinux.org/archive/lua-aports/lua-aports-$pkgver.tar.xz + 0001-buildrepo-show-pkgversion-of-packages.patch + " _builddir="$srcdir"/lua-aports-$pkgver prepare() { @@ -34,6 +36,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="d2b71fee354a721d49637a366648817e lua-aports-0.1.tar.xz" -sha256sums="ac7a17a3190959f5840ffe47cb101053298ecf2de04b284835360e19f840db27 lua-aports-0.1.tar.xz" -sha512sums="765b51b37e9e47725752b1e236ef8355282ee738f306e1e7870ae888146214cf886663cd16fa746ee8a91cccf901712cfe43ed449987988cf83b8024148bfcfe lua-aports-0.1.tar.xz" +md5sums="d2b71fee354a721d49637a366648817e lua-aports-0.1.tar.xz +5e0738740f0f1bbfc422071e1f899fae 0001-buildrepo-show-pkgversion-of-packages.patch" +sha256sums="ac7a17a3190959f5840ffe47cb101053298ecf2de04b284835360e19f840db27 lua-aports-0.1.tar.xz +9828a67b49208f6cce2a344bec2fcb5dcba4bd15fc45a6c72f2e8d584a2b20c7 0001-buildrepo-show-pkgversion-of-packages.patch" +sha512sums="765b51b37e9e47725752b1e236ef8355282ee738f306e1e7870ae888146214cf886663cd16fa746ee8a91cccf901712cfe43ed449987988cf83b8024148bfcfe lua-aports-0.1.tar.xz +0d7f74afc09f613f014f38ac687635a9922d51d1a13be21b0d7fde6ec46d3c1063f6e96167806149fb88cb6bb33bac8db82af966f77b945c1ad44d760b3c981d 0001-buildrepo-show-pkgversion-of-packages.patch" |