osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-ipynb revision:15, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ipynb?expand=0&rev=22
This commit is contained in:
parent
da1fdff2a4
commit
3eabc7ea96
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 4 12:15:26 UTC 2022 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update ipynb to version 0.2 revision 1.
|
||||||
|
Upstream has edited the change log file since the last release in
|
||||||
|
a non-trivial way, i.e. they did more than just add a new entry
|
||||||
|
at the top. You can review the file at:
|
||||||
|
http://hackage.haskell.org/package/ipynb-0.2/src/Changelog.md
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 1 08:27:06 UTC 2021 - psimons@suse.com
|
Mon Nov 1 08:27:06 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-ipynb
|
# spec file for package ghc-ipynb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,12 +19,13 @@
|
|||||||
%global pkg_name ipynb
|
%global pkg_name ipynb
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.1.0.2
|
Version: 0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Data structure for working with Jupyter notebooks (ipynb)
|
Summary: Data structure for working with Jupyter notebooks (ipynb)
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
BuildRequires: ghc-base64-bytestring-devel
|
BuildRequires: ghc-base64-bytestring-devel
|
||||||
@ -59,6 +60,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7d269508fbfe62645e43c19954a203498853f4c915c0bef8f50747a50a257e62
|
|
||||||
size 20158
|
|
3
ipynb-0.2.tar.gz
Normal file
3
ipynb-0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9a743d74e95ccccfadca4a734f44c7b3e2a5b838da3f9044231590d7355191c7
|
||||||
|
size 632962
|
54
ipynb.cabal
Normal file
54
ipynb.cabal
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
name: ipynb
|
||||||
|
version: 0.2
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: Data structure for working with Jupyter notebooks (ipynb).
|
||||||
|
description: ipynb defines a data structure for representing Jupyter
|
||||||
|
notebooks, along with ToJSON and FromJSON instances
|
||||||
|
for conversion to and from JSON .ipynb files.
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: John MacFarlane
|
||||||
|
maintainer: jgm@berkeley.edu
|
||||||
|
copyright: Copyright (C) 2019 John MacFarlane
|
||||||
|
category: Text
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files: Changelog.md
|
||||||
|
test/rt-files/*.ipynb
|
||||||
|
cabal-version: >=1.10
|
||||||
|
tested-with: GHC == 8.2.2 || == 8.4.4 || == 8.6.5 ||
|
||||||
|
== 8.8.1 || == 8.10.4 || == 9.0.1
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/jgm/ipynb.git
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules: Data.Ipynb
|
||||||
|
build-depends: base >= 4.8 && < 5,
|
||||||
|
containers >= 0.5.8,
|
||||||
|
unordered-containers,
|
||||||
|
base64-bytestring,
|
||||||
|
aeson >= 1.5.2.0,
|
||||||
|
bytestring,
|
||||||
|
text
|
||||||
|
if impl(ghc < 8.0)
|
||||||
|
build-depends: semigroups == 0.18.*
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite roundtrip
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: roundtrip.hs
|
||||||
|
build-depends: base,
|
||||||
|
ipynb,
|
||||||
|
filepath,
|
||||||
|
directory,
|
||||||
|
tasty,
|
||||||
|
tasty-hunit,
|
||||||
|
aeson,
|
||||||
|
bytestring,
|
||||||
|
microlens-aeson,
|
||||||
|
microlens,
|
||||||
|
text
|
||||||
|
hs-source-dirs: test
|
||||||
|
default-language: Haskell2010
|
Loading…
Reference in New Issue
Block a user