diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 6d88e56dabadcd4a95f4a4ccba2226b08a1904b7..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# nodejs-difflib - -#### Description -Text diff library ported from Python's difflib module - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md index ce3a9c9c831979f5cfdb470d762f1fe4722625cb..1bf67687a47a1081d2229666ba42c09b6b9bd148 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,3 @@ -# nodejs-difflib +Deprecated since Aug 2025 -#### 介绍 -Text diff library ported from Python's difflib module - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +- https://gitee.com/openeuler/release-management/pulls/2363 diff --git a/difflib-0.2.4-fix-test-keywords.patch b/difflib-0.2.4-fix-test-keywords.patch deleted file mode 100644 index 112941dca0ba9abc5501acb354a41a25208f0387..0000000000000000000000000000000000000000 --- a/difflib-0.2.4-fix-test-keywords.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/test/global.coffee b/test/global.coffee -index a5bb19c..07954f5 100644 ---- a/test/global.coffee -+++ b/test/global.coffee -@@ -28,7 +28,7 @@ test '.getCloseMatches', -> - getCloseMatches('appel', ['ape', 'apple', 'peach', 'puppy']) - .should.eql ['apple', 'ape'] - -- KEYWORDS = require('coffee-script').RESERVED -+ KEYWORDS = ['case', 'default', 'function', 'var', 'void', 'with', 'const', 'let', 'enum', 'export', 'import', 'native', 'implements', 'interface', 'package', 'private', 'protected', 'public', 'static', 'true', 'false', 'null', 'this', 'new', 'delete', 'typeof', 'in', 'instanceof', 'return', 'throw', 'break', 'continue', 'debugger', 'yield', 'if', 'else', 'switch', 'for', 'while', 'do', 'try', 'catch', 'finally', 'class', 'extends', 'super', 'undefined', 'then', 'unless', 'until', 'loop', 'of', 'by', 'when', 'arguments', 'eval', 'yield*'] - getCloseMatches('wheel', KEYWORDS).should.eql ['when', 'while'] - getCloseMatches('accost', KEYWORDS).should.eql ['const'] - diff --git a/difflib-0.2.4.tgz b/difflib-0.2.4.tgz deleted file mode 100644 index aec9b7db4b6828881c70f1ab3c9a4774743872f9..0000000000000000000000000000000000000000 Binary files a/difflib-0.2.4.tgz and /dev/null differ diff --git a/nodejs-difflib.spec b/nodejs-difflib.spec deleted file mode 100644 index 720101f7e2a639c32a970a067e9636e191a37e0b..0000000000000000000000000000000000000000 --- a/nodejs-difflib.spec +++ /dev/null @@ -1,55 +0,0 @@ -%{?nodejs_find_provides_and_requires} -%global packagename difflib -%global enable_tests 1 -Name: nodejs-difflib -Version: 0.2.4 -Release: 2 -Summary: Text diff library ported from Python's difflib module -License: Python -URL: https://github.com/qiao/difflib.js.git -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz -Patch0: difflib-0.2.4-fix-test-keywords.patch -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: coffee-script mocha npm(heap) npm(should) -%endif -%description -Text diff library ported from Python's difflib module - -%prep -%setup -q -n package -%patch0 -p1 -rm lib/difflib.js -%nodejs_fixdep heap '^0.2.0' - -%build -%{_bindir}/coffee -c -b -o lib/ src/difflib.coffee - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js lib/ \ - %{buildroot}%{nodejs_sitelib}/%{packagename} -%nodejs_symlink_deps -%if 0%{?enable_tests} - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%{_bindir}/coffee -c -b test/*.coffee -%{_bindir}/mocha --require should -R spec --ui qunit -%endif - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license README.md -%{nodejs_sitelib}/%{packagename} - -%changelog -* Tue Nov 26 2020 leiju - 0.2.4-2 -- delete ExclusiveArch:%{ix86} x86_64 %{arm} noarch - -* Tue Aug 18 2020 Anan Fu - 0.2.4-1 -- package init diff --git a/nodejs-difflib.yaml b/nodejs-difflib.yaml deleted file mode 100644 index eacdad0ba2491b5a7538f2146e3ff766e6d7cb23..0000000000000000000000000000000000000000 --- a/nodejs-difflib.yaml +++ /dev/null @@ -1,4 +0,0 @@ -version_control: github -src_repo: qiao/difflib.js.git -tag_prefix: "^" -seperator: "."