Matej Cepl
7fe7082838
- Update to 4.0.0rc5 - Add drop-assertpy-dep.patch to remove assertpy dependency - Add vendor-npm.patch to vendor npm build requirements OBS-URL: https://build.opensuse.org/request/show/1102628 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-html?expand=0&rev=33
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
Index: pytest_html-4.0.0rc5/package.json
|
|
===================================================================
|
|
--- pytest_html-4.0.0rc5.orig/package.json
|
|
+++ pytest_html-4.0.0rc5/package.json
|
|
@@ -8,14 +8,5 @@
|
|
"all": "npm run lint && npm run unit && npm run build:css && npm run build:jsapp"
|
|
},
|
|
"devDependencies": {
|
|
- "browserify": "^17.0.0",
|
|
- "chai": "^4.3.6",
|
|
- "eslint": "^8.20.0",
|
|
- "eslint-config-google": "^0.14.0",
|
|
- "mocha": "^10.0.0",
|
|
- "mock-local-storage": "^1.1.24",
|
|
- "nyc": "^15.1.0",
|
|
- "sass": "^1.52.3",
|
|
- "sinon": "^14.0.0"
|
|
}
|
|
}
|
|
Index: pytest_html-4.0.0rc5/scripts/npm.py
|
|
===================================================================
|
|
--- pytest_html-4.0.0rc5.orig/scripts/npm.py
|
|
+++ pytest_html-4.0.0rc5/scripts/npm.py
|
|
@@ -5,5 +5,4 @@ from hatchling.builders.hooks.plugin.int
|
|
|
|
class NpmBuildHook(BuildHookInterface):
|
|
def initialize(self, version, build_data):
|
|
- subprocess.check_output("npm ci", shell=True)
|
|
subprocess.check_output("npm run build", shell=True)
|