[Pkg-javascript-commits] [select2.js] 03/11: exclude dist/js

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Dec 14 15:07:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository select2.js.

commit ec8d81b3f32dbd86ad0e316844c0f73892dc23cb
Author: Pirate Praveen <praveen at debian.org>
Date:   Thu Dec 14 18:15:16 2017 +0530

    exclude dist/js
---
 debian/changelog |  2 +-
 debian/copyright | 18 ++++--------------
 debian/watch     |  6 +++++-
 3 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f559c82..050336c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 TODO: investigate the new /vendor/ stuff
 
-select2.js (4.0.3~dfsg1-1) UNRELEASED; urgency=medium
+select2.js (4.0.3~dfsg2-1) UNRELEASED; urgency=medium
 
   * New upstream snapshot.
   * Bump Standards-Version to 3.9.8.
diff --git a/debian/copyright b/debian/copyright
index f40c6b7..0272449 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,31 +1,21 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: select2.js
 Source: https://github.com/select2/select2
-Files-Excluded: dist/js/*.min.js
-                dist/js/i18n/*
+Files-Excluded: dist/js
                 dist/css/*.min.css
-                dist/js/*.full.js
                 tests/vendor/*
                 vendor/*
                 docs/vendor/*
 
-
 Files: *
 Copyright: 2012-2015 Kevin Brown, Igor Vaynberg, and Select2 contributors
 License: Expat
-Comment: Upstream embeds concatenated JavaScript in the dist/ folder.
- Debian currently does not have Grunt, so we are unable to generate
- an equivalent of the dist/ folder. The code in dist/ is still readable,
+Comment: Upstream embeds built CSS files in the dist/css folder.
+ Debian currently does not have grunt-sass, so we are unable to generate
+ an equivalent of the dist/css folder. The code in dist/css is still readable,
  commented, not minified and easy to modify, so we are installing it
  directly.
 
-Files: dist/js/select2.js
-Copyright: 2012-2015 Kevin Brown, Igor Vaynberg, and Select2 contributors
-           2011-2014 The Dojo Foundation
-License: BSD-3-Clause or Expat, and Expat
-Comment: The file embeds a copy of almond.js, which is dual licensed
- BSD-3-Clause and Expat. The rest of the file is all Expat.
-
 Files: debian/*
 Copyright: 2015 Alexandre Viau <aviau at debian.org>
 License: Expat or BSD-3-Clause
diff --git a/debian/watch b/debian/watch
index fd37bb8..509ef4d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,7 @@
 version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/select2.js-$1\.tar\.gz/,repacksuffix=~dfsg1,dversionmangle=s/\~dfsg\d*$// \
+opts=\
+repacksuffix=~dfsg2,\
+repack,compression=xz,\
+filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/select2.js-$1\.tar\.gz/,\
+dversionmangle=s/\~dfsg\d*$// \
  https://github.com/select2/select2/releases .*/archive/v?(\d[\d\.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/select2.js.git



More information about the Pkg-javascript-commits mailing list