Accepting request 250355 from home:MargueriteSu:branches:devel:languages:nodejs

OBS-URL: https://build.opensuse.org/request/show/250355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-coffeestack?expand=0&rev=1
This commit is contained in:
2014-09-20 16:19:29 +00:00
committed by Git OBS Bridge
commit 17d8d7befb
6 changed files with 110 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
coffeestack-0.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3133e74c1adf4d9c13a66b10649b9fd91e5d2090b0908a991ecbe4f8f4161d36
size 3092

View File

@@ -0,0 +1,15 @@
Index: coffeestack-0.7.0/package.json
===================================================================
--- coffeestack-0.7.0.orig/package.json
+++ coffeestack-0.7.0/package.json
@@ -27,10 +27,6 @@
"bugs": {
"url": "https://github.com/kevinsawicki/coffeestack/issues"
},
- "dependencies": {
- "coffee-script": "~1.7.0",
- "source-map": "~0.1.31"
- },
"devDependencies": {
"jasmine-focused": "1.x",
"rimraf": "~2.2.0",

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Sep 20 15:53:44 UTC 2014 - i@marguerite.su
- initial version 0.7.0

63
nodejs-coffeestack.spec Normal file
View File

@@ -0,0 +1,63 @@
#
# spec file for package nodejs-coffeestack
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: nodejs-coffeestack
Version: 0.7.0
Release: 0
Summary: CoffeeScript Stacktrace Converter
License: BSD-3-Clause
Group: Development/Languages/Other
Url: https://github.com/kevinsawicki/coffeestack
Source: coffeestack-%{version}.tar.gz
Patch: coffeestack-remove-dependency-tag.patch
BuildRequires: coffeescript
BuildRequires: nodejs
BuildRequires: nodejs-source-map
BuildRequires: npm
Requires: coffeescript
Requires: nodejs-source-map
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{nodejs_requires}
%description
Module to convert JavaScript stack traces to CoffeeScript
stack traces.
%prep
%setup -q -n coffeestack-%{version}
cp -r package.json ..
%patch -p1
pushd ..
tar -czf %{SOURCE0} coffeestack-%{version}
popd
%build
%install
%{nodejs_install}
# manual install original package.json
install -m 0644 ../package.json %{buildroot}%{nodejs_modulesdir}/coffeestack
%files
%defattr(-,root,root,-)
%doc README.md
%{nodejs_modulesdir}/coffeestack
%changelog