Replace with github links.

This commit is contained in:
Bastian Kleineidam 2012-12-14 22:04:48 +01:00 committed by Bastian Kleineidam
parent 91e7e9a589
commit 2d0bfad674
5 changed files with 27 additions and 27 deletions

View File

@ -1,4 +1,5 @@
include MANIFEST.in include MANIFEST.in
include COPYING doc/*.1 doc/*.txt doc/*.tmpl doc/icon/* include COPYING doc/*.1 doc/*.txt doc/*.tmpl doc/icon/*
include Makefile *.bat *.bash-completion include Makefile *.bash-completion
include scripts/*.bat
recursive-include tests *.py recursive-include tests *.py

View File

@ -3,7 +3,7 @@ PYVER:=2.7
PYTHON:=python$(PYVER) PYTHON:=python$(PYVER)
APPNAME:=patool APPNAME:=patool
VERSION:=$(shell $(PYTHON) setup.py --version) VERSION:=$(shell $(PYTHON) setup.py --version)
ARCHIVE:=$(APPNAME)-$(VERSION).tar.gz ARCHIVE_SOURCE:=$(APPNAME)-$(VERSION).tar.gz
ARCHIVE_RPM:=$(APPNAME)-$(VERSION)-1.x86_64.rpm ARCHIVE_RPM:=$(APPNAME)-$(VERSION)-1.x86_64.rpm
ARCHIVE_WIN32:=$(APPNAME)-$(VERSION).exe ARCHIVE_WIN32:=$(APPNAME)-$(VERSION).exe
PY_FILES_DIRS := patool setup.py patoolib tests PY_FILES_DIRS := patool setup.py patoolib tests
@ -30,34 +30,31 @@ chmod:
find . -type d -exec chmod 755 {} \; find . -type d -exec chmod 755 {} \;
dist: dist:
git archive --format=tar --prefix=$(APPNAME)-$(VERSION)/ HEAD | gzip -9 > ../$(ARCHIVE) $(PYTHON) setup.py bdist_rpm
# cd .. && zip -r - patool-git -x "**/.git/**" > $(HOME)/temp/share/patool-devel.zip git archive --format=tar --prefix=$(APPNAME)-$(VERSION)/ HEAD | gzip -9 > dist/$(ARCHIVE_SOURCE)
[ ! -f ../$(ARCHIVE_WIN32) ] || cp ../$(ARCHIVE_WIN32) dist
sign: sign:
[ -f ../$(ARCHIVE).sha1 ] || sha1sum ../$(ARCHIVE) > ../$(ARCHIVE).sha1 [ -f dist/$(ARCHIVE_SOURCE).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_SOURCE)
[ -f ../$(ARCHIVE).asc ] || gpg --detach-sign --armor ../$(ARCHIVE) [ -f dist/$(ARCHIVE_WIN32).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_WIN32)
[ -f ../$(ARCHIVE_WIN32).sha1 ] || sha1sum ../$(ARCHIVE_WIN32) > ../$(ARCHIVE_WIN32).sha1
[ -f ../$(ARCHIVE_WIN32).asc ] || gpg --detach-sign --armor ../$(ARCHIVE_WIN32)
[ -f dist/$(ARCHIVE_RPM).sha1 ] || sha1sum dist/$(ARCHIVE_RPM) > dist/$(ARCHIVE_RPM).sha1
[ -f dist/$(ARCHIVE_RPM).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_RPM) [ -f dist/$(ARCHIVE_RPM).asc ] || gpg --detach-sign --armor dist/$(ARCHIVE_RPM)
upload: doc/README.md sign upload: dist/README.md sign
rsync -avP -e ssh doc/README.md ../$(ARCHIVE)* ../$(ARCHIVE_WIN32)* dist/$(ARCHIVE_RPM)* calvin,patool@frs.sourceforge.net:/home/frs/project/p/pa/patool/$(VERSION)/ github-upload wummel patool dist/*
make -C $(HOMEPAGE)
doc/README.md: doc/README-Download.md.tmpl doc/changelog.txt dist/README.md: doc/README-Download.md.tmpl doc/changelog.txt
# copying readme for sourceforge downloads # copying readme for release
sed -e 's/{APPNAME}/$(APPNAME)/g' -e 's/{VERSION}/$(VERSION)/g' $< > $@ sed -e 's/{APPNAME}/$(APPNAME)/g' -e 's/{VERSION}/$(VERSION)/g' $< > $@
# append changelog # append changelog
awk '/released/ {c++}; c==2 {exit}; {print " " $$0}' doc/changelog.txt >> $@ awk '/released/ {c++}; c==2 {exit}; {print " " $$0}' doc/changelog.txt >> $@
release: clean releasecheck dist upload release: clean releasecheck dist upload
git tag upstream/$(VERSION) git tag upstream/$(VERSION)
@echo "Register at Python Package Index..." @echo "Register at Python Package Index..."
$(PYTHON) setup.py register $(PYTHON) setup.py register
freecode-submit < patool.freecode freecode-submit < patool.freecode
releasecheck: check test releasecheck: check test
@if egrep -i "xx\.|xxxx|\.xx" doc/changelog.txt > /dev/null; then \ @if egrep -i "xx\.|xxxx|\.xx" doc/changelog.txt > /dev/null; then \
echo "Could not release: edit doc/changelog.txt release date"; false; \ echo "Could not release: edit doc/changelog.txt release date"; false; \
@ -74,9 +71,6 @@ releasecheck: check test
app: clean chmod app: clean chmod
$(PYTHON) setup.py py2app $(PY2APPOPTS) $(PYTHON) setup.py py2app $(PY2APPOPTS)
rpm:
$(PYTHON) setup.py bdist_rpm
# The check programs used here are mostly local scripts on my private system. # The check programs used here are mostly local scripts on my private system.
# So for other developers there is no need to execute this target. # So for other developers there is no need to execute this target.
check: check:
@ -110,7 +104,7 @@ update-copyright:
update-copyright --holder="Bastian Kleineidam" update-copyright --holder="Bastian Kleineidam"
changelog: changelog:
sftrack_changelog patool calvin@users.sourceforge.net doc/changelog.txt $(DRYRUN) github-changelog $(DRYRUN) wummel patool doc/changelog.txt
.PHONY: changelog update-copyright deb test clean count pyflakes check rpm app .PHONY: changelog update-copyright deb test clean count pyflakes check app
.PHONY: releasecheck release upload sign dist chmod all .PHONY: releasecheck release upload sign dist chmod all

View File

@ -32,3 +32,8 @@ patool create --verbose myfiles.zip file1.txt dir/
patool diff release1.0.tar.gz release2.0.zip patool diff release1.0.tar.gz release2.0.zip
patool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2 patool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2
``` ```
Website
--------
See http://wummel.github.com/patool/ for more info and downloads.

View File

@ -2,11 +2,11 @@ Project: patool
Version: 0.17 Version: 0.17
Release-Focus: Minor feature enhancements Release-Focus: Minor feature enhancements
Hide: N Hide: N
Website-URL: http://patool.sourceforge.net/ Website-URL: http://github.com/wummel/patool
Changelog-URL: http://patool.git.sourceforge.net/git/gitweb.cgi?p=patool/patool;a=blob;f=doc/changelog.txt;hb=HEAD Changelog-URL: https://github.com/wummel/patool/blob/master/doc/changelog.txt
Tar/GZ-URL: http://downloads.sourceforge.net/patool/patool-${version}.tar.gz Tar/GZ-URL: https://github.com/downloads/wummel/patool/patool-${version}.tar.gz
GIT-Tree-URL: http://patool.git.sourceforge.net/ GIT-Tree-URL: https://github.com/wummel/patool.git
Windows-installer-URL: http://downloads.sourceforge.net/patool/patool-${version}.win32.exe Windows-installer-URL: http://github.com/downloads/wummel/patool/patool-${version}.win32.exe
Support for the following archive programs has been added: Support for the following archive programs has been added:
Monkey's Audio Compressor handling .ape archives, Monkey's Audio Compressor handling .ape archives,

View File

@ -270,8 +270,8 @@ installed.
maintainer = MyName, maintainer = MyName,
maintainer_email = MyEmail, maintainer_email = MyEmail,
license = "GPL", license = "GPL",
url = "http://patool.sourceforge.net/", url = "http://wummel.github.com/patool/",
download_url="http://sourceforge.net/projects/patool/files/", download_url="http://wummel.github.com/patool/files/",
packages = ['patoolib', 'patoolib.programs'], packages = ['patoolib', 'patoolib.programs'],
data_files = data_files, data_files = data_files,
scripts = ['patool'], scripts = ['patool'],