[khronos-opencl-headers] 07/08: Remove code to download upstream release from svn
Vincent Danjean
vdanjean at debian.org
Thu Sep 8 22:53:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
vdanjean pushed a commit to branch master
in repository khronos-opencl-headers.
commit 92fdea7771b0affebe19a2e3fb06174f797c6162
Author: Vincent Danjean <Vincent.Danjean at ens-lyon.org>
Date: Fri Sep 9 00:42:50 2016 +0200
Remove code to download upstream release from svn
Now, upstream sources are on github.
The debian/watch file can help (but will need to be fixed once upstream tags its releases)
---
debian/rules | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2a5db11..413321b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,5 @@
#!/usr/bin/make -f
-package = khronos-opencl-headers
-api = 2.0
-
%:
dh $@
@@ -12,22 +9,3 @@ override_dh_auto_test:
override_dh_auto_clean:
$(MAKE) -C debian/t clean
-
-version = $(api)~svn$(REVISION)
-src_dir = $(package)-$(version).orig
-src_file = $(package)_$(version).orig.tar.gz
-svn_url = https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/api/$(api)
-svn_latest = $(shell LC_MESSAGES=C svn info $(svn_url) | sed -n '/Last Changed Rev:/ s/.* //p')
-
-get-orig-source:
-ifeq (,$(filter-out latest,$(REVISION)))
- debian/rules $@ REVISION="$(or $(svn_latest),fail)"
-else
- $(RM) -r $(src_dir)
- svn export --revision $(REVISION) $(svn_url) $(src_dir)
- GZIP="--best --no-name" tar cfz $(src_file) --exclude-vcs --owner=root --group=src $(src_dir)
- $(RM) -r $(src_dir)
-endif
-
-latest:
- @echo "Latest header revision for API $(api) is r$(svn_latest)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/khronos-opencl-headers.git
More information about the Pkg-opencl-commits
mailing list