From b09ecf1c328bcdd3fdbe0f49f7dfdba121bb438e Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Aug 15 2022 15:37:37 +0000 Subject: feat: update to 6.0.2 - drops doc subpackage that contained sphinx docs: sphinx generated docs require unbundling of fonts/js and so on, so we don't include them. --- diff --git a/.gitignore b/.gitignore index ea9f62a..21e82a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /owlrl-5.2.1.tar.gz /owlrl-5.2.3.tar.gz +/owlrl-6.0.2.tar.gz diff --git a/python-owl_rl.spec b/python-owl_rl.spec index 0652cf8..d82d498 100644 --- a/python-owl_rl.spec +++ b/python-owl_rl.spec @@ -11,13 +11,13 @@ library. It may have to be adapted to the local server setup. (on the standard output). Run the script with -h to get the available flags.} Name: python-owl_rl -Version: 5.2.3 +Version: 6.0.2 Release: %autorelease Summary: OWL-RL and RDFS based RDF Closure inferencing for Python License: W3C URL: https://github.com/RDFLib/OWL-RL -Source0: https://github.com/RDFLib/OWL-RL/archive/v%{version}/owlrl-%{version}.tar.gz +Source0: %{pypi_source owlrl} BuildArch: noarch @@ -45,16 +45,8 @@ Obsoletes: python3-owlrl <= 5.2.1-3 %description -n python3-owl_rl %_description -%package doc -Summary: %{summary} - -BuildRequires: %{py3_dist sphinx} -BuildRequires: %{py3_dist sphinx_rtd_theme} - -%description doc %_description - %prep -%autosetup -n OWL-RL-%{version} +%autosetup -n owlrl-%{version} rm -rf owlrl.egg-info find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';' @@ -67,13 +59,6 @@ sed -i -e 's/, "pathlib"//g' setup.py %build %py3_build -# Build documentation -pushd docs -PYTHONPATH=. sphinx-build-3 source html -rm -rvf html/.buildinfo -rm -rvf html/.doctrees -popd - %install %py3_install @@ -92,9 +77,5 @@ popd %{_bindir}/owlrl %{_bindir}/RDFConvertService -%files doc -%license LICENSE.txt -%doc docs/html - %changelog %autochangelog diff --git a/sources b/sources index ad9b54e..fa2d985 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (owlrl-5.2.3.tar.gz) = 6be65df392e98cafc418386a8912ca1c08bea4061aa25ceff83152635572e7dfbde6143f4ac8ee91bb0800aad341f767124d31c22317b353d3a80951eeb2c240 +SHA512 (owlrl-6.0.2.tar.gz) = ff6356cce48955ba698fe9af9af09df50137b34c57fc1b781f8e97141086bb33f408cd8faf979c339bf039f90608927102ebb1ab87a24005a9a27ecbea9fe205