[Pkg-javascript-commits] [vue.js] 01/02: Revert "do not provide a nodejs library"

Paolo Greppi paolog-guest at moszumanska.debian.org
Tue Jan 16 16:39:31 UTC 2018


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

paolog-guest pushed a commit to branch master
in repository vue.js.

commit 4011ee0347c1a4d83c3c47820ad936e41ec9cc60
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Jan 16 16:45:12 2018 +0100

    Revert "do not provide a nodejs library"
    
    This reverts commit add51e12ae0628be4800cd1d94b36087b5b819af.
---
 debian/control          | 22 +++++++++++++++++++++-
 debian/copyright        |  2 +-
 debian/node-vue.install |  3 +++
 debian/tests/control    |  2 ++
 debian/tests/require    |  3 +++
 5 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 48db4c9..cb808ef 100644
--- a/debian/control
+++ b/debian/control
@@ -19,10 +19,11 @@ Homepage: https://github.com/vuejs/vue#readme
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/vue.js.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/vue.js.git
 
-Package: libjs-vue
+Package: node-vue
 Architecture: all
 Depends:
  ${misc:Depends}
+ , nodejs
 Description: Core library of the Vue JavaScript framework
  Vue is a flexible, non-opinionated, non-monolithic, incrementally adoptable
  JavaScript framework for building user interfaces with JavaScript or
@@ -36,4 +37,23 @@ Description: Core library of the Vue JavaScript framework
  tooling is also perfectly capable of powering sophisticated Single-Page
  Applications.
  .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-vue
+Architecture: all
+Depends:
+ ${misc:Depends}
+Description: Core library of the Vue JavaScript framework, browser build
+ Vue is a flexible, non-opinionated, non-monolithic, incrementally adoptable
+ JavaScript framework for building user interfaces with JavaScript or
+ TypeScript.
+ .
+ It provides data-reactive components with a simple and flexible API.
+ .
+ The core library focuses on declarative rendering and component composition.
+ .
+ Vue core when used in combination with its supporting libraries and modern
+ tooling is also perfectly capable of powering sophisticated Single-Page
+ Applications.
+ .
  This package contains the browser (UMD) build.
diff --git a/debian/copyright b/debian/copyright
index 4c1a439..b558c8c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,7 +6,7 @@ Files-Excluded: dist/*.js
 Comment: remove prebuilt (minified) JavaScript objects
 
 Files: *
-Copyright: 2013-present, Yuxi (Evan) You
+Copyright: 2017 Evan You
 License: Expat
 
 Files: debian/*
diff --git a/debian/node-vue.install b/debian/node-vue.install
new file mode 100644
index 0000000..eaddfc9
--- /dev/null
+++ b/debian/node-vue.install
@@ -0,0 +1,3 @@
+src usr/lib/nodejs/vue/
+package.json usr/lib/nodejs/vue/
+types usr/lib/nodejs/vue/
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e19505f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-vue
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..97ff3f2
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('vue');"

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



More information about the Pkg-javascript-commits mailing list