From ec607d65fef9d6cd238f220bf6411222bbc3c488 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 18 Aug 2014 23:39:32 +0200 Subject: [PATCH] remove freecode support Signed-off-by: Nico Schottelius --- Makefile | 13 +------------ PKGBUILD.in | 6 ++++++ bin/build-helper | 18 ------------------ 3 files changed, 7 insertions(+), 30 deletions(-) diff --git a/Makefile b/Makefile index 112b1411..396551fb 100644 --- a/Makefile +++ b/Makefile @@ -170,17 +170,6 @@ $(ML_FILE): $(CHANGELOG_FILE) ml-release: $(ML_FILE) -################################################################################ -# Release: Freecode -# -FREECODE_FILE=.lock-freecode - -$(FREECODE_FILE): $(CHANGELOG_FILE) - $(helper) freecode-release $(CHANGELOG_VERSION) - touch $@ - -freecode-release: $(FREECODE_FILE) - ################################################################################ # pypi # @@ -197,7 +186,7 @@ ARCHLINUX_FILE=.lock-archlinux ARCHLINUXTAR=cdist-$(CHANGELOG_VERSION)-1.src.tar.gz $(ARCHLINUXTAR): PKGBUILD - makepkg -c --source + umask 022; makepkg -c --source PKGBUILD: PKGBUILD.in $(PYTHON_VERSION) ./PKGBUILD.in $(CHANGELOG_VERSION) diff --git a/PKGBUILD.in b/PKGBUILD.in index e3ae4619..c967249d 100755 --- a/PKGBUILD.in +++ b/PKGBUILD.in @@ -17,7 +17,13 @@ source=("http://pypi.python.org/packages/source/c/cdist/cdist-\${pkgver}.tar.gz" package() { cd cdist-\${pkgver} python3 setup.py build install --root="\${pkgdir}" + find "\$pkgdir" -type d -exec chmod 0755 {} \; + find "\$pkgdir" -type f -exec chmod a+r {} \; } eof makepkg -g >> "${outfile}" + +# Fix this issue: +# error: failed to upload cdist-3.1.6-1.src.tar.gz: Error - all files must have permissions of 644 or 755. +chmod a+r "${outfile}" diff --git a/bin/build-helper b/bin/build-helper index d28c0616..31789a2e 100755 --- a/bin/build-helper +++ b/bin/build-helper @@ -145,21 +145,6 @@ eof ;; - freecode-release) - version=$1; shift - printf "Enter tag list for freecode release %s> " "$version" - read taglist - - printf "Enter changelog for freecode release %s> " "$version" - read changelog - - echo "Submitting to freecode ..." - python2 ~/p/foreign/freecode-submit-2.7/freecode-submit -P cdist \ - -v "$version" -c "$changelog" \ - -t "$taglist" \ - -n - ;; - release-git-tag) target_version=$($0 changelog-version) if git rev-parse --verify refs/tags/$target_version 2>/dev/null; then @@ -258,9 +243,6 @@ eof # Archlinux release is based on pypi make archlinux-release - # Announce change on Freecode - make freecode-release - # Announce change on ML make ml-release