diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-07-06 09:22:14 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-07-06 09:22:14 +0000 |
commit | 728a0ef2dbe9c2ea2934a4d27fa6a89e896de645 (patch) | |
tree | 348410e56ae72baaa7bf24e7a14d8638016386f2 /community/py-configobj | |
parent | 03421e99a1db01c9736e70859635a00678bf0359 (diff) | |
download | aports-728a0ef2dbe9c2ea2934a4d27fa6a89e896de645.tar.bz2 aports-728a0ef2dbe9c2ea2934a4d27fa6a89e896de645.tar.xz |
community/py-configobj: remove snapshot function
Diffstat (limited to 'community/py-configobj')
-rw-r--r-- | community/py-configobj/APKBUILD | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/community/py-configobj/APKBUILD b/community/py-configobj/APKBUILD index 6456a55520..5b0f264998 100644 --- a/community/py-configobj/APKBUILD +++ b/community/py-configobj/APKBUILD @@ -18,25 +18,6 @@ _mercurial_url="https://code.google.com/p/configobj/" _builddir="$srcdir"/$_realname-$pkgver -snapshot() { - mkdir -p "$srcdir" - cd "${SRCDEST:-$srcdir}" - if ! [ -d $_realname ]; then - hg clone $_mercurial_url || return 1 - cd $_realname - _mercurial_revision=$(cd ${SRCDEST:-$srcdir}/$_realname && hg tip | grep changeset | egrep -o '[0-9]+:' | tr -d ":") - _mercurial_commit=$(hg identify ${SRCDEST:-$srcdir}/$_realname | awk '{ print $1 }') - else - cd $_realname - hg pull - _mercurial_revision=$(cd ${SRCDEST:-$srcdir}/$_realname && hg tip | grep changeset | egrep -o '[0-9]+:' | tr -d ":") - _mercurial_commit=$(hg identify ${SRCDEST:-$srcdir}/$_realname | awk '{ print $1 }') - fi - - hg archive --prefix=$_realname/ "$SRCDEST"/${_realname}-${_ver}${_mercurial_revision}.tar.gz - scp "$SRCDEST"/${_realname}-${_ver}${_mercurial_revision}.tar.gz dev.alpinelinux.org:/archive/$_realname/ -} - prepare() { cd "$_builddir" return 0 |