summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 05:54:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 05:54:58 +0000
commit88a6d131130da39b113750102779191d3d6add8c (patch)
treedd1a4235651a5ba5035e92b1a9428099bdaac1b4
parent5135d102c46a489c46851bd0920302afc0056584 (diff)
automatic import of python-sweetrpg-library-objects
-rw-r--r--.gitignore1
-rw-r--r--python-sweetrpg-library-objects.spec492
-rw-r--r--sources1
3 files changed, 494 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e5c261b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sweetrpg-library-objects-0.0.200.tar.gz
diff --git a/python-sweetrpg-library-objects.spec b/python-sweetrpg-library-objects.spec
new file mode 100644
index 0000000..9c25b70
--- /dev/null
+++ b/python-sweetrpg-library-objects.spec
@@ -0,0 +1,492 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sweetrpg-library-objects
+Version: 0.0.200
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: MIT
+URL: https://sweetrpg.com
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2b/10/cac8a221f9b4e417e4fbb9f13eca4d89bb4b5c844c68fd6fe7ea9bdf6ac3/sweetrpg-library-objects-0.0.200.tar.gz
+BuildArch: noarch
+
+Requires: python3-Flask
+Requires: python3-mongoengine
+Requires: python3-sweetrpg-db
+Requires: python3-sweetrpg-model-core
+Requires: python3-marshmallow-jsonapi
+Requires: python3-sweetrpg-api-core
+
+%description
+# sweetrpg-library-objects
+
+[![Unit tests](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml)
+[![Coverage](https://github.com/sweetrpg/library-objects/blob/develop/coverage.svg)](https://github.com/sweetrpg/library-objects)
+[![PyPI version](https://badgen.net/pypi/v/sweetrpg-library-objects)](https://pypi.org/project/sweetrpg-library-objects)
+[![License](https://img.shields.io/github/license/sweetrpg/library-objects.svg)](https://img.shields.io/github/license/sweetrpg/library-objects.svg)
+[![Issues](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)
+[![PRs](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)
+[![Dependabot](https://badgen.net/github/dependabot/sweetrpg/library-objects)](https://badgen.net/github/dependabot/sweetrpg/library-objects)
+
+[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
+[![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)
+
+Model package for library applications.
+
+## Models
+
+<a name="#person"></a>
+### Person
+
+* Fields
+ * `name`: *String*. The name of the person.
+ * `tag_ids`: *[Tag]*. An array of tags associated with the author.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#personproperty"></a>
+### PersonProperty
+
+* Fields
+ * `name`: *String*. The name of the property.
+ * `type`: *String*. The type of the property's value.
+ * `value`: *String*. The value of the property.
+ * `person_id`: *Volume*. The identifier of the person associated with the property.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#publisher"></a>
+### Publisher
+
+* Fields
+ * `name`: *String*. The name of the publisher.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#review"></a>
+### Review
+
+* Fields
+ * `title`: *String*. The title of the review.
+ * `text`: *String*. The body text of the review.
+ * `volume_id`: *Volume*. The volume associated with the review.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#studio"></a>
+### Studio
+
+* Fields
+ * `name`: *String*. The name of the studio.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#system"></a>
+### System
+
+* Fields
+ * `game_system`: *String*. The identifier of the game system.
+ * `edition`: *String*. The identifier of the game system's edition.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#tag"></a>
+### Tag
+
+* Fields
+ * `name`: *String*. The name of the tag.
+ * `value`: *String*. The optional value of the tag.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#contribution"></a>
+### Contribution
+
+* Fields
+ * `person_id`: *Person*. Identifier of the Person making the contribution
+ * `roles`: *[Enum{ContributionType}]*. An array of contribution types for this person.
+ Valid values are: `designer`, `developer`, `writer`, `artist`, `cartographer`, `editor`,
+ `producer`, `consultant`, `director`, `illustrator`, `misc`.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#volume"></a>
+### Volume
+
+* Fields
+ * `name`: *String*. The name of the volume.
+ * `contributors`: *[Contribution]*. An array of contributions for the volume, indicating a person
+ and their contribution(s) to the volume.
+ * `studio_ids`: *[Studio]*. An array of studios associated with the volume.
+ * `publisher_ids`: *[Publisher]*. An array of publishers associated with the volume.
+ * `system_id`: *System*. The game system associated with the volume.
+ * `review_ids`: *[Review]*. An array of reviews associated with the volume.
+ * `tag_ids`: *[Tag]*. An array of tags associated with the volume.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#volumeproperty"></a>
+### VolumeProperty
+
+* Fields
+ * `name`: *String*. The name of the property.
+ * `type`: *String*. The type of the property's value.
+ * `value`: *String*. The value of the property.
+ * `volume_id`: *Volume*. The identifier of the volume associated with the property.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+## Development
+
+1. Create a virtual environment
+ ```shell
+ python -m venv ~/.virtualenvs/sweetrpg-library-objects
+ source ~/.virtualenvs/sweetrpg-library-objects/bin/activate
+ ```
+2. Install requirements
+ ```shell
+ pip3 install -r requirements/dev.txt
+ ```
+
+### Requirements
+
+Requirements are organized in a number of role-based files in the `requirements/` directory:
+
+* `dev.{in,txt}` -- for project development
+* `pkg.{in,txt}` -- for the package itself
+* `docs.{in,txt}` -- to generate documentation
+* `tests.{in,txt}` -- to run unit tests
+
+### Updating requirements
+
+To update requirements, edit the appropriate `*.in` file, then run the `update.sh` script in the
+same directory. The script will run `pip-compile` to generate the `*.txt` file with the actual
+resolved versions and dependencies.
+
+## Documentation
+
+Documentation for this package can be found [here](https://sweetrpg.github.io/library-objects).
+
+
+%package -n python3-sweetrpg-library-objects
+Summary: please add a summary manually as the author left a blank one
+Provides: python-sweetrpg-library-objects
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sweetrpg-library-objects
+# sweetrpg-library-objects
+
+[![Unit tests](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml)
+[![Coverage](https://github.com/sweetrpg/library-objects/blob/develop/coverage.svg)](https://github.com/sweetrpg/library-objects)
+[![PyPI version](https://badgen.net/pypi/v/sweetrpg-library-objects)](https://pypi.org/project/sweetrpg-library-objects)
+[![License](https://img.shields.io/github/license/sweetrpg/library-objects.svg)](https://img.shields.io/github/license/sweetrpg/library-objects.svg)
+[![Issues](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)
+[![PRs](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)
+[![Dependabot](https://badgen.net/github/dependabot/sweetrpg/library-objects)](https://badgen.net/github/dependabot/sweetrpg/library-objects)
+
+[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
+[![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)
+
+Model package for library applications.
+
+## Models
+
+<a name="#person"></a>
+### Person
+
+* Fields
+ * `name`: *String*. The name of the person.
+ * `tag_ids`: *[Tag]*. An array of tags associated with the author.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#personproperty"></a>
+### PersonProperty
+
+* Fields
+ * `name`: *String*. The name of the property.
+ * `type`: *String*. The type of the property's value.
+ * `value`: *String*. The value of the property.
+ * `person_id`: *Volume*. The identifier of the person associated with the property.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#publisher"></a>
+### Publisher
+
+* Fields
+ * `name`: *String*. The name of the publisher.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#review"></a>
+### Review
+
+* Fields
+ * `title`: *String*. The title of the review.
+ * `text`: *String*. The body text of the review.
+ * `volume_id`: *Volume*. The volume associated with the review.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#studio"></a>
+### Studio
+
+* Fields
+ * `name`: *String*. The name of the studio.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#system"></a>
+### System
+
+* Fields
+ * `game_system`: *String*. The identifier of the game system.
+ * `edition`: *String*. The identifier of the game system's edition.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#tag"></a>
+### Tag
+
+* Fields
+ * `name`: *String*. The name of the tag.
+ * `value`: *String*. The optional value of the tag.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#contribution"></a>
+### Contribution
+
+* Fields
+ * `person_id`: *Person*. Identifier of the Person making the contribution
+ * `roles`: *[Enum{ContributionType}]*. An array of contribution types for this person.
+ Valid values are: `designer`, `developer`, `writer`, `artist`, `cartographer`, `editor`,
+ `producer`, `consultant`, `director`, `illustrator`, `misc`.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#volume"></a>
+### Volume
+
+* Fields
+ * `name`: *String*. The name of the volume.
+ * `contributors`: *[Contribution]*. An array of contributions for the volume, indicating a person
+ and their contribution(s) to the volume.
+ * `studio_ids`: *[Studio]*. An array of studios associated with the volume.
+ * `publisher_ids`: *[Publisher]*. An array of publishers associated with the volume.
+ * `system_id`: *System*. The game system associated with the volume.
+ * `review_ids`: *[Review]*. An array of reviews associated with the volume.
+ * `tag_ids`: *[Tag]*. An array of tags associated with the volume.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#volumeproperty"></a>
+### VolumeProperty
+
+* Fields
+ * `name`: *String*. The name of the property.
+ * `type`: *String*. The type of the property's value.
+ * `value`: *String*. The value of the property.
+ * `volume_id`: *Volume*. The identifier of the volume associated with the property.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+## Development
+
+1. Create a virtual environment
+ ```shell
+ python -m venv ~/.virtualenvs/sweetrpg-library-objects
+ source ~/.virtualenvs/sweetrpg-library-objects/bin/activate
+ ```
+2. Install requirements
+ ```shell
+ pip3 install -r requirements/dev.txt
+ ```
+
+### Requirements
+
+Requirements are organized in a number of role-based files in the `requirements/` directory:
+
+* `dev.{in,txt}` -- for project development
+* `pkg.{in,txt}` -- for the package itself
+* `docs.{in,txt}` -- to generate documentation
+* `tests.{in,txt}` -- to run unit tests
+
+### Updating requirements
+
+To update requirements, edit the appropriate `*.in` file, then run the `update.sh` script in the
+same directory. The script will run `pip-compile` to generate the `*.txt` file with the actual
+resolved versions and dependencies.
+
+## Documentation
+
+Documentation for this package can be found [here](https://sweetrpg.github.io/library-objects).
+
+
+%package help
+Summary: Development documents and examples for sweetrpg-library-objects
+Provides: python3-sweetrpg-library-objects-doc
+%description help
+# sweetrpg-library-objects
+
+[![Unit tests](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml)
+[![Coverage](https://github.com/sweetrpg/library-objects/blob/develop/coverage.svg)](https://github.com/sweetrpg/library-objects)
+[![PyPI version](https://badgen.net/pypi/v/sweetrpg-library-objects)](https://pypi.org/project/sweetrpg-library-objects)
+[![License](https://img.shields.io/github/license/sweetrpg/library-objects.svg)](https://img.shields.io/github/license/sweetrpg/library-objects.svg)
+[![Issues](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)
+[![PRs](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)
+[![Dependabot](https://badgen.net/github/dependabot/sweetrpg/library-objects)](https://badgen.net/github/dependabot/sweetrpg/library-objects)
+
+[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
+[![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)
+
+Model package for library applications.
+
+## Models
+
+<a name="#person"></a>
+### Person
+
+* Fields
+ * `name`: *String*. The name of the person.
+ * `tag_ids`: *[Tag]*. An array of tags associated with the author.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#personproperty"></a>
+### PersonProperty
+
+* Fields
+ * `name`: *String*. The name of the property.
+ * `type`: *String*. The type of the property's value.
+ * `value`: *String*. The value of the property.
+ * `person_id`: *Volume*. The identifier of the person associated with the property.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#publisher"></a>
+### Publisher
+
+* Fields
+ * `name`: *String*. The name of the publisher.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#review"></a>
+### Review
+
+* Fields
+ * `title`: *String*. The title of the review.
+ * `text`: *String*. The body text of the review.
+ * `volume_id`: *Volume*. The volume associated with the review.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#studio"></a>
+### Studio
+
+* Fields
+ * `name`: *String*. The name of the studio.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#system"></a>
+### System
+
+* Fields
+ * `game_system`: *String*. The identifier of the game system.
+ * `edition`: *String*. The identifier of the game system's edition.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#tag"></a>
+### Tag
+
+* Fields
+ * `name`: *String*. The name of the tag.
+ * `value`: *String*. The optional value of the tag.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#contribution"></a>
+### Contribution
+
+* Fields
+ * `person_id`: *Person*. Identifier of the Person making the contribution
+ * `roles`: *[Enum{ContributionType}]*. An array of contribution types for this person.
+ Valid values are: `designer`, `developer`, `writer`, `artist`, `cartographer`, `editor`,
+ `producer`, `consultant`, `director`, `illustrator`, `misc`.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#volume"></a>
+### Volume
+
+* Fields
+ * `name`: *String*. The name of the volume.
+ * `contributors`: *[Contribution]*. An array of contributions for the volume, indicating a person
+ and their contribution(s) to the volume.
+ * `studio_ids`: *[Studio]*. An array of studios associated with the volume.
+ * `publisher_ids`: *[Publisher]*. An array of publishers associated with the volume.
+ * `system_id`: *System*. The game system associated with the volume.
+ * `review_ids`: *[Review]*. An array of reviews associated with the volume.
+ * `tag_ids`: *[Tag]*. An array of tags associated with the volume.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+<a name="#volumeproperty"></a>
+### VolumeProperty
+
+* Fields
+ * `name`: *String*. The name of the property.
+ * `type`: *String*. The type of the property's value.
+ * `value`: *String*. The value of the property.
+ * `volume_id`: *Volume*. The identifier of the volume associated with the property.
+ * [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).
+
+## Development
+
+1. Create a virtual environment
+ ```shell
+ python -m venv ~/.virtualenvs/sweetrpg-library-objects
+ source ~/.virtualenvs/sweetrpg-library-objects/bin/activate
+ ```
+2. Install requirements
+ ```shell
+ pip3 install -r requirements/dev.txt
+ ```
+
+### Requirements
+
+Requirements are organized in a number of role-based files in the `requirements/` directory:
+
+* `dev.{in,txt}` -- for project development
+* `pkg.{in,txt}` -- for the package itself
+* `docs.{in,txt}` -- to generate documentation
+* `tests.{in,txt}` -- to run unit tests
+
+### Updating requirements
+
+To update requirements, edit the appropriate `*.in` file, then run the `update.sh` script in the
+same directory. The script will run `pip-compile` to generate the `*.txt` file with the actual
+resolved versions and dependencies.
+
+## Documentation
+
+Documentation for this package can be found [here](https://sweetrpg.github.io/library-objects).
+
+
+%prep
+%autosetup -n sweetrpg-library-objects-0.0.200
+
+%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-sweetrpg-library-objects -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.200-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fc1c5b1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b82966787630db7510bc1b4bafa63a6e sweetrpg-library-objects-0.0.200.tar.gz