diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:42:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:42:12 +0000 |
commit | 3061ad7e92a2496ada00a99b6fcbc1f52316abb0 (patch) | |
tree | 150a2199218747984533b07871d01ce7c08da93a | |
parent | e885de0625139871693d6cccf4f3153f568a9e9f (diff) |
automatic import of python-rdflib-sqlalchemyopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-rdflib-sqlalchemy.spec | 118 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 120 insertions, 0 deletions
@@ -0,0 +1 @@ +/rdflib-sqlalchemy-0.5.4.tar.gz diff --git a/python-rdflib-sqlalchemy.spec b/python-rdflib-sqlalchemy.spec new file mode 100644 index 0000000..237a522 --- /dev/null +++ b/python-rdflib-sqlalchemy.spec @@ -0,0 +1,118 @@ +%global _empty_manifest_terminate_build 0 +Name: python-rdflib-sqlalchemy +Version: 0.5.4 +Release: 1 +Summary: rdflib extension adding SQLAlchemy as an AbstractSQLStore back-end store +License: BSD +URL: http://github.com/RDFLib/rdflib-sqlalchemy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/68/97/fa419cc76e93a6ffd708257824a655fab8cb6e30a38f75c5d5f56cbc3881/rdflib-sqlalchemy-0.5.4.tar.gz +BuildArch: noarch + +Requires: python3-SQLAlchemy +Requires: python3-alembic +Requires: python3-rdflib +Requires: python3-six + +%description + + SQLAlchemy store formula-aware implementation. + It stores its triples in the following partitions: + + * Asserted non rdf:type statements + * Asserted rdf:type statements (in a table which models Class membership). + The motivation for this partition is primarily improved query speed and + scalability as most graphs will always have more rdf:type statements than + others. + * All Quoted statements + + In addition it persists namespace mappings in a separate table + + + + +%package -n python3-rdflib-sqlalchemy +Summary: rdflib extension adding SQLAlchemy as an AbstractSQLStore back-end store +Provides: python-rdflib-sqlalchemy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-rdflib-sqlalchemy + + SQLAlchemy store formula-aware implementation. + It stores its triples in the following partitions: + + * Asserted non rdf:type statements + * Asserted rdf:type statements (in a table which models Class membership). + The motivation for this partition is primarily improved query speed and + scalability as most graphs will always have more rdf:type statements than + others. + * All Quoted statements + + In addition it persists namespace mappings in a separate table + + + + +%package help +Summary: Development documents and examples for rdflib-sqlalchemy +Provides: python3-rdflib-sqlalchemy-doc +%description help + + SQLAlchemy store formula-aware implementation. + It stores its triples in the following partitions: + + * Asserted non rdf:type statements + * Asserted rdf:type statements (in a table which models Class membership). + The motivation for this partition is primarily improved query speed and + scalability as most graphs will always have more rdf:type statements than + others. + * All Quoted statements + + In addition it persists namespace mappings in a separate table + + + + +%prep +%autosetup -n rdflib-sqlalchemy-0.5.4 + +%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-rdflib-sqlalchemy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.4-1 +- Package Spec generated @@ -0,0 +1 @@ +82beb2f82ac64ddf4a23a3a8553e114e rdflib-sqlalchemy-0.5.4.tar.gz |