Compare commits

..

2 commits

Author SHA1 Message Date
Jerry James
1b074b6578 Version 1.17.0 2025-04-05 15:14:31 -06:00
Jerry James
0a8455b6c0 Version 1.16.7 2025-02-10 21:18:28 -07:00
4 changed files with 25 additions and 28 deletions

View file

@ -1,7 +1,7 @@
├─ MIT: 766
├─ ISC: 188
├─ BSD-3-Clause: 99
├─ Apache-2.0: 56
├─ Apache-2.0: 55
├─ BSD-2-Clause: 29
├─ BlueOak-1.0.0: 7
├─ (MIT OR CC0-1.0): 6

View file

@ -64,7 +64,6 @@ jlpm license-checker --summary | sed "s#$PKG_PATH#/tmp/#g" > $PKG_DIR/${PKG_NAME
cd -
rm -rf .package-cache node_modules
cleanup_and_exit 0
echo ">>>>>> Remember to run this script on both x86_64 AND aarch64 and merge"
cleanup_and_exit 0

View file

@ -2,11 +2,12 @@
#global vsuffix d
Name: python-jupytext
Version: 1.18.1
Version: 1.17.0
Release: %autorelease
Summary: Save Jupyter notebooks as text documents or scripts
License: MIT
BuildArch: noarch
URL: https://jupytext.readthedocs.io/
VCS: git:%{giturl}.git
Source0: %{giturl}/archive/v%{version}/jupytext-%{version}%{?vsuffix}.tar.gz
@ -17,13 +18,7 @@ Source3: prepare_vendor.sh
# s390x builds fail due to a bug in jupyterlab
# https://bugzilla.redhat.com/show_bug.cgi?id=2278011
# ppc64le builds fail due to lack of a binary builder
ExclusiveArch: %{x86_64} %{arm64} noarch
BuildArch: noarch
BuildSystem: pyproject
BuildOption(generate_buildrequires): -x docs,test,test-functional,test-integration
BuildOption(install): -l jupytext jupytext_config
ExcludeArch: s390x
BuildRequires: gcc-c++
BuildRequires: help2man
@ -31,14 +26,17 @@ BuildRequires: make
BuildRequires: nodejs-devel
BuildRequires: nodejs-npm
BuildRequires: pandoc
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2275382
BuildRequires: nodejs-full-i18n
%global _desc %{expand:Have you always wished Jupyter notebooks were plain text documents? Wished
you could edit them in your favorite IDE? And get clear and meaningful diffs
when doing version control? Then... Jupytext may well be the tool you're
looking for!
%global _desc %{expand:
Have you always wished Jupyter notebooks were plain text documents?
Wished you could edit them in your favorite IDE? And get clear and
meaningful diffs when doing version control? Then... Jupytext may well
be the tool you're looking for!
Jupytext is a plugin for Jupyter that can save Jupyter notebooks as
- Markdown files (or MyST Markdown files, or R Markdown or Quarto text
@ -50,16 +48,14 @@ Common use cases for Jupytext are:
- Editing, merging or refactoring notebooks in your favorite text editor
- Applying Q&A checks on notebooks.}
%description
%_desc
%description %_desc
%package -n python3-jupytext
Summary: %{summary}
# Filesystem package for the standard Jupyter paths
Requires: python-jupyter-filesystem
%description -n python3-jupytext
%_desc
%description -n python3-jupytext %_desc
%package -n python3-jupyterlab-jupytext
# The jupytext project is released under the MIT license. Bundled JavaScript:
@ -76,8 +72,7 @@ Provides: bundled(npm(buffer)) = 6.0.3
Provides: bundled(npm(ieee754)) = 1.2.1
Provides: bundled(npm(jupyterlab-rise)) = 0.43.1
%description -n python3-jupyterlab-jupytext
%_desc
%description -n python3-jupyterlab-jupytext %_desc
%package doc
# The content is MIT. Other licenses are due to Sphinx files.
@ -123,25 +118,28 @@ sed -i '/jupytext/d' docs/doc-requirements.txt
# Take this package out of the test requirements
sed -ri '/jupytext\[test(-functional)?\]/d' pyproject.toml
%generate_buildrequires -p
%generate_buildrequires
export HATCH_BUILD_HOOKS_ENABLE=true
%pyproject_buildrequires -x docs,test,test-functional,test-integration
%build -p
%build
export HATCH_BUILD_HOOKS_ENABLE=true
export YARN_CACHE_FOLDER="$PWD/jupyterlab/.package-cache"
export npm_config_nodedir=%{_includedir}/node
export CFLAGS='%{build_cflags} -I%{_includedir}/node'
export CXXFLAGS='%{build_cxxflags} -I%{_includedir}/node'
%build -a
%pyproject_wheel
# Build the documentation
PYTHONPATH=$PWD %make_build -C docs html
rm docs/_build/html/.buildinfo
%install -p
%install
export HATCH_BUILD_HOOKS_ENABLE=true
%pyproject_install
%pyproject_save_files -l jupytext jupytext_config
%install -a
# Cleanup backup files
find %{buildroot}%{_prefix} -name \*.orig -delete

View file

@ -1,2 +1,2 @@
SHA512 (jupytext-1.18.1-vendor.tar.xz) = b1dcbbd21877d82b3134f604a572eee23b9bf271b54d1cafefc2b88ca0ae1cc2b9b440cec45cbb0c6de122ee25697c103999a0f01f0767d2dd7c48532db56109
SHA512 (jupytext-1.18.1.tar.gz) = 31593c01826319bb3517e546f0c04c99f786de33aa41082d2dfd411457fccd517f93fc9ea9f809fc75fbf0c9c78eedc0d5503e02486fe602876efbaf8a50c7f2
SHA512 (jupytext-1.17.0-vendor.tar.xz) = f08fafb43334de7de138f73403f89f8b73ebe6ecc594549f66d5862a5c1969b7242cc71e604342b3468faee0837a80e61fe1f7d9a32e1fd2bde514c072c5d581
SHA512 (jupytext-1.17.0.tar.gz) = ef4c0433beb498ecce38d0fa5f31fc45db1e9caab606789881ec41938c1bb7dd8e4e5a24cb3de3dbd8e6a1fe2ebde410efe825f138f7ce66ca19e52e8890bf7e