From 8a892f2b3b25436dad549691c559703b955d9a2c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Jun 2023 02:21:35 +0000 Subject: automatic import of python-ckanext-dcat-usmetadata --- .gitignore | 1 + python-ckanext-dcat-usmetadata.spec | 63 ++++++++++++++++--------------------- sources | 2 +- 3 files changed, 29 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 7e5865a..f77222b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /ckanext-dcat_usmetadata-0.4.0.tar.gz +/ckanext-dcat_usmetadata-0.4.1.tar.gz diff --git a/python-ckanext-dcat-usmetadata.spec b/python-ckanext-dcat-usmetadata.spec index bea2d4d..d2cd39f 100644 --- a/python-ckanext-dcat-usmetadata.spec +++ b/python-ckanext-dcat-usmetadata.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-ckanext-dcat-usmetadata -Version: 0.4.0 +Version: 0.4.1 Release: 1 Summary: DCAT USMetadata Form App for CKAN License: AGPL URL: https://github.com/GSA/ckanext-dcat_usmetadata -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1a/e8/ec8d6131a1077f96171e7ef68183db6cab4da8f3cceeac2ef09601b6fc54/ckanext-dcat_usmetadata-0.4.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/58/a3/669a72f5384fb64f9d1ef795e5761455bfaa13792e726cf68eaf0e7d8f09/ckanext-dcat_usmetadata-0.4.1.tar.gz BuildArch: noarch @@ -115,12 +115,11 @@ yarn up There are several levels of testing: -| Suite | Description | Command | -| ------------------------- | ----------------------------------- | ------------------------ | -| Unit tests for the JS app | Tests for the React app. | `yarn test:metadata-app` | -| CKAN extension tests | Python tests using Nosetests | `yarn test` | -| End to end tests | Cypress tests against inventory app | `yarn e2e` | -| End to end tests (local) | Cypress tests against inventory app | `yarn front-end` | +| Suite | Description | Command | +| ------------------------- | ---------------------------- | ------------------------ | +| Unit tests for the JS app | Tests for the React app. | `yarn test:metadata-app` | +| CKAN extension tests | Python tests using Nosetests | `yarn test` | +| End to end tests | Cypress tests | `yarn e2e` | ## Linting @@ -174,8 +173,6 @@ yarn test:metadata-app --updateSnapshot ## Local development and end-to-end testing -We use the [inventory app](https://github.com/GSA/inventory-app) locally for development and end-to-end (e2e) testing. - To build the latest JS code and update assets in the CKAN extension, you can run the following command from the root directory of this project: ``` @@ -188,7 +185,7 @@ For convenience, we have prepared a single script that you can run to perform en yarn e2e ``` -Note, it may be necessary to remove cached images when rebuilding the inventory app docker container, in order to ensure that the new usmetadata-app template is included in the build. If you want to make sure that you aren't using cached builds, you can try: +Note, it may be necessary to remove cached images when rebuilding the docker container, in order to ensure that the new usmetadata-app template is included in the build. If you want to make sure that you aren't using cached builds, you can try: ```bash docker-compose build --no-cache --pull ckanext-dcat_usmetadata_app @@ -373,12 +370,11 @@ yarn up There are several levels of testing: -| Suite | Description | Command | -| ------------------------- | ----------------------------------- | ------------------------ | -| Unit tests for the JS app | Tests for the React app. | `yarn test:metadata-app` | -| CKAN extension tests | Python tests using Nosetests | `yarn test` | -| End to end tests | Cypress tests against inventory app | `yarn e2e` | -| End to end tests (local) | Cypress tests against inventory app | `yarn front-end` | +| Suite | Description | Command | +| ------------------------- | ---------------------------- | ------------------------ | +| Unit tests for the JS app | Tests for the React app. | `yarn test:metadata-app` | +| CKAN extension tests | Python tests using Nosetests | `yarn test` | +| End to end tests | Cypress tests | `yarn e2e` | ## Linting @@ -432,8 +428,6 @@ yarn test:metadata-app --updateSnapshot ## Local development and end-to-end testing -We use the [inventory app](https://github.com/GSA/inventory-app) locally for development and end-to-end (e2e) testing. - To build the latest JS code and update assets in the CKAN extension, you can run the following command from the root directory of this project: ``` @@ -446,7 +440,7 @@ For convenience, we have prepared a single script that you can run to perform en yarn e2e ``` -Note, it may be necessary to remove cached images when rebuilding the inventory app docker container, in order to ensure that the new usmetadata-app template is included in the build. If you want to make sure that you aren't using cached builds, you can try: +Note, it may be necessary to remove cached images when rebuilding the docker container, in order to ensure that the new usmetadata-app template is included in the build. If you want to make sure that you aren't using cached builds, you can try: ```bash docker-compose build --no-cache --pull ckanext-dcat_usmetadata_app @@ -628,12 +622,11 @@ yarn up There are several levels of testing: -| Suite | Description | Command | -| ------------------------- | ----------------------------------- | ------------------------ | -| Unit tests for the JS app | Tests for the React app. | `yarn test:metadata-app` | -| CKAN extension tests | Python tests using Nosetests | `yarn test` | -| End to end tests | Cypress tests against inventory app | `yarn e2e` | -| End to end tests (local) | Cypress tests against inventory app | `yarn front-end` | +| Suite | Description | Command | +| ------------------------- | ---------------------------- | ------------------------ | +| Unit tests for the JS app | Tests for the React app. | `yarn test:metadata-app` | +| CKAN extension tests | Python tests using Nosetests | `yarn test` | +| End to end tests | Cypress tests | `yarn e2e` | ## Linting @@ -687,8 +680,6 @@ yarn test:metadata-app --updateSnapshot ## Local development and end-to-end testing -We use the [inventory app](https://github.com/GSA/inventory-app) locally for development and end-to-end (e2e) testing. - To build the latest JS code and update assets in the CKAN extension, you can run the following command from the root directory of this project: ``` @@ -701,7 +692,7 @@ For convenience, we have prepared a single script that you can run to perform en yarn e2e ``` -Note, it may be necessary to remove cached images when rebuilding the inventory app docker container, in order to ensure that the new usmetadata-app template is included in the build. If you want to make sure that you aren't using cached builds, you can try: +Note, it may be necessary to remove cached images when rebuilding the docker container, in order to ensure that the new usmetadata-app template is included in the build. If you want to make sure that you aren't using cached builds, you can try: ```bash docker-compose build --no-cache --pull ckanext-dcat_usmetadata_app @@ -775,7 +766,7 @@ All contributions to this project will be released under the CC0 dedication. By %prep -%autosetup -n ckanext-dcat-usmetadata-0.4.0 +%autosetup -n ckanext-dcat_usmetadata-0.4.1 %build %py3_build @@ -789,20 +780,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -815,5 +806,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot - 0.4.0-1 +* Fri Jun 09 2023 Python_Bot - 0.4.1-1 - Package Spec generated diff --git a/sources b/sources index 882577e..f7babbb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -20f480aa70828db15fa919be32873f26 ckanext-dcat_usmetadata-0.4.0.tar.gz +51bd83265a111cd83af95c3535cdd7ca ckanext-dcat_usmetadata-0.4.1.tar.gz -- cgit v1.2.3