summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 04:53:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 04:53:22 +0000
commitbfe232dbc36e6265a3ec665cdd7744c287c698b4 (patch)
treed8d352a97e2c5c4fbdc2f650087fb2b518ed1faf
parent0709229f0b24876c77d0cc67d08fa9968d01d807 (diff)
automatic import of python-ckanserviceprovideropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-ckanserviceprovider.spec339
-rw-r--r--sources1
3 files changed, 341 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..085ccd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ckanserviceprovider-1.1.0.tar.gz
diff --git a/python-ckanserviceprovider.spec b/python-ckanserviceprovider.spec
new file mode 100644
index 0000000..f847e92
--- /dev/null
+++ b/python-ckanserviceprovider.spec
@@ -0,0 +1,339 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ckanserviceprovider
+Version: 1.1.0
+Release: 1
+Summary: A library for making web services that make functions available as synchronous or asynchronous jobs
+License: AGPL
+URL: https://github.com/ckan/ckan-service-provider
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3a/f7/5bc1778b60ae6d8eedfe4abbaae3fd21547def2a0fd4a1bf0a9bc060de4f/ckanserviceprovider-1.1.0.tar.gz
+BuildArch: noarch
+
+
+%description
+[![Tests](https://github.com/ckan/ckan-service-provider/actions/workflows/test.yml/badge.svg)](https://github.com/ckan/ckan-service-provider/actions/workflows/test.yml)
+[![Latest Version](https://img.shields.io/pypi/v/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Downloads](https://img.shields.io/pypi/dm/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Supported Python versions](https://img.shields.io/pypi/pyversions/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Development Status](https://img.shields.io/pypi/status/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![License](https://img.shields.io/pypi/l/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+
+[DataPusher]: https://github.com/okfn/datapusher
+[PyPI]: https://pypi.python.org/pypi/ckanserviceprovider
+
+
+# CKAN Service Provider
+
+A library for making web services that make functions available as synchronous
+or asynchronous jobs. Used by [DataPusher][].
+
+
+## Getting Started
+
+To install ckanserviceprovider for development:
+
+```bash
+git clone https://github.com/ckan/ckan-service-provider.git
+cd ckan-service-provider
+pip install -r requirements-dev.txt
+```
+
+To get started making a web service with ckanserviceprovider have a look at
+[/example](example). You can run the example server with
+`python example/main.py example/settings_local.py`.
+
+For a real-world example have a look at [DataPusher][].
+
+
+## Running the Tests
+
+To run the ckanserviceprovider tests:
+
+```bash
+pytest
+```
+
+
+## Building the Documentation
+
+To build the ckanserviceprovider docs:
+
+```bash
+python setup.py build_sphinx
+```
+
+
+## Releasing a New Version
+
+To release a new version of ckanserviceprovider:
+
+1. Increment the version number in [setup.py](setup.py)
+
+2. Build a source distribution of the new version and publish it to
+ [PyPI][]:
+
+ ```bash
+ python setup.py sdist bdist_wheel
+ pip install --upgrade twine
+ twine upload dist/*
+ ```
+
+ You may want to test installing and running the new version from PyPI in a
+ clean virtualenv before continuing to the next step.
+
+3. Commit your setup.py changes to git, tag the release, and push the changes
+ and the tag to GitHub:
+
+ ```bash
+ git commit setup.py -m "Bump version number"
+ git tag 0.0.1
+ git push
+ git push origin 0.0.1
+ ```
+
+ (Replace both instances of 0.0.1 with the number of the version you're
+ releasing.)
+
+
+## Authors
+
+The original authors of ckanserviceprovider were
+David Raznick <david.raznick@okfn.org> and
+Dominik Moritz <dominik.moritz@okfn.org>. For the current list of contributors
+see [github.com/ckan/ckan-service-provider/contributors](https://github.com/ckan/ckan-service-provider/contributors)
+
+%package -n python3-ckanserviceprovider
+Summary: A library for making web services that make functions available as synchronous or asynchronous jobs
+Provides: python-ckanserviceprovider
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ckanserviceprovider
+[![Tests](https://github.com/ckan/ckan-service-provider/actions/workflows/test.yml/badge.svg)](https://github.com/ckan/ckan-service-provider/actions/workflows/test.yml)
+[![Latest Version](https://img.shields.io/pypi/v/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Downloads](https://img.shields.io/pypi/dm/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Supported Python versions](https://img.shields.io/pypi/pyversions/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Development Status](https://img.shields.io/pypi/status/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![License](https://img.shields.io/pypi/l/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+
+[DataPusher]: https://github.com/okfn/datapusher
+[PyPI]: https://pypi.python.org/pypi/ckanserviceprovider
+
+
+# CKAN Service Provider
+
+A library for making web services that make functions available as synchronous
+or asynchronous jobs. Used by [DataPusher][].
+
+
+## Getting Started
+
+To install ckanserviceprovider for development:
+
+```bash
+git clone https://github.com/ckan/ckan-service-provider.git
+cd ckan-service-provider
+pip install -r requirements-dev.txt
+```
+
+To get started making a web service with ckanserviceprovider have a look at
+[/example](example). You can run the example server with
+`python example/main.py example/settings_local.py`.
+
+For a real-world example have a look at [DataPusher][].
+
+
+## Running the Tests
+
+To run the ckanserviceprovider tests:
+
+```bash
+pytest
+```
+
+
+## Building the Documentation
+
+To build the ckanserviceprovider docs:
+
+```bash
+python setup.py build_sphinx
+```
+
+
+## Releasing a New Version
+
+To release a new version of ckanserviceprovider:
+
+1. Increment the version number in [setup.py](setup.py)
+
+2. Build a source distribution of the new version and publish it to
+ [PyPI][]:
+
+ ```bash
+ python setup.py sdist bdist_wheel
+ pip install --upgrade twine
+ twine upload dist/*
+ ```
+
+ You may want to test installing and running the new version from PyPI in a
+ clean virtualenv before continuing to the next step.
+
+3. Commit your setup.py changes to git, tag the release, and push the changes
+ and the tag to GitHub:
+
+ ```bash
+ git commit setup.py -m "Bump version number"
+ git tag 0.0.1
+ git push
+ git push origin 0.0.1
+ ```
+
+ (Replace both instances of 0.0.1 with the number of the version you're
+ releasing.)
+
+
+## Authors
+
+The original authors of ckanserviceprovider were
+David Raznick <david.raznick@okfn.org> and
+Dominik Moritz <dominik.moritz@okfn.org>. For the current list of contributors
+see [github.com/ckan/ckan-service-provider/contributors](https://github.com/ckan/ckan-service-provider/contributors)
+
+%package help
+Summary: Development documents and examples for ckanserviceprovider
+Provides: python3-ckanserviceprovider-doc
+%description help
+[![Tests](https://github.com/ckan/ckan-service-provider/actions/workflows/test.yml/badge.svg)](https://github.com/ckan/ckan-service-provider/actions/workflows/test.yml)
+[![Latest Version](https://img.shields.io/pypi/v/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Downloads](https://img.shields.io/pypi/dm/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Supported Python versions](https://img.shields.io/pypi/pyversions/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![Development Status](https://img.shields.io/pypi/status/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+[![License](https://img.shields.io/pypi/l/ckanserviceprovider.svg)](https://pypi.python.org/pypi/ckanserviceprovider/)
+
+[DataPusher]: https://github.com/okfn/datapusher
+[PyPI]: https://pypi.python.org/pypi/ckanserviceprovider
+
+
+# CKAN Service Provider
+
+A library for making web services that make functions available as synchronous
+or asynchronous jobs. Used by [DataPusher][].
+
+
+## Getting Started
+
+To install ckanserviceprovider for development:
+
+```bash
+git clone https://github.com/ckan/ckan-service-provider.git
+cd ckan-service-provider
+pip install -r requirements-dev.txt
+```
+
+To get started making a web service with ckanserviceprovider have a look at
+[/example](example). You can run the example server with
+`python example/main.py example/settings_local.py`.
+
+For a real-world example have a look at [DataPusher][].
+
+
+## Running the Tests
+
+To run the ckanserviceprovider tests:
+
+```bash
+pytest
+```
+
+
+## Building the Documentation
+
+To build the ckanserviceprovider docs:
+
+```bash
+python setup.py build_sphinx
+```
+
+
+## Releasing a New Version
+
+To release a new version of ckanserviceprovider:
+
+1. Increment the version number in [setup.py](setup.py)
+
+2. Build a source distribution of the new version and publish it to
+ [PyPI][]:
+
+ ```bash
+ python setup.py sdist bdist_wheel
+ pip install --upgrade twine
+ twine upload dist/*
+ ```
+
+ You may want to test installing and running the new version from PyPI in a
+ clean virtualenv before continuing to the next step.
+
+3. Commit your setup.py changes to git, tag the release, and push the changes
+ and the tag to GitHub:
+
+ ```bash
+ git commit setup.py -m "Bump version number"
+ git tag 0.0.1
+ git push
+ git push origin 0.0.1
+ ```
+
+ (Replace both instances of 0.0.1 with the number of the version you're
+ releasing.)
+
+
+## Authors
+
+The original authors of ckanserviceprovider were
+David Raznick <david.raznick@okfn.org> and
+Dominik Moritz <dominik.moritz@okfn.org>. For the current list of contributors
+see [github.com/ckan/ckan-service-provider/contributors](https://github.com/ckan/ckan-service-provider/contributors)
+
+%prep
+%autosetup -n ckanserviceprovider-1.1.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+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
+fi
+if [ -d usr/lib64 ]; then
+ 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
+fi
+if [ -d usr/sbin ]; then
+ 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
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-ckanserviceprovider -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7645482
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b56023da9df4bffb05cb1260e72f0fb6 ckanserviceprovider-1.1.0.tar.gz