diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b22ba9d..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/1.11.3.tar.gz -/scalacheck-*.tar.gz diff --git a/Generate.java b/Generate.java deleted file mode 100644 index 7a12c5a..0000000 --- a/Generate.java +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (c) 2021 Jerry James - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ -import java.io.FileWriter; -import java.io.IOException; -import scala.collection.immutable.Seq; - -public class Generate { - public static void main(String args[]) { - Seq files = codegen.genAll(); - for (int i = 0; i < files.length(); i++) { - GeneratedFile gen = files.apply(i); - try { - FileWriter f = new FileWriter(args[0] + "/" + gen.name()); - f.write(gen.code()); - f.close(); - } catch (IOException e) { - System.err.println("Failed to generate " + gen.name()); - System.err.println(e.toString()); - System.exit(1); - } - } - } -} diff --git a/README.md b/README.md deleted file mode 100644 index b596a51..0000000 --- a/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# scalacheck - -[ScalaCheck](https://scalacheck.org/) is a library written in -[Scala](https://www.scala-lang.org/) and used for automated property-based -testing of Scala or Java programs. ScalaCheck was originally inspired by the -Haskell library [QuickCheck](https://hackage.haskell.org/package/QuickCheck), -but has also ventured into its own. - -ScalaCheck has no external dependencies other than the Scala runtime, and -works great with [sbt](https://www.scala-sbt.org/), the Scala build tool. It -is also fully integrated in the test frameworks -[ScalaTest](https://www.scalatest.org/), -[specs2](https://etorreborre.github.io/specs2/), and -[LambdaTest](https://47degrees.github.io/LambdaTest/). You can of course also -use ScalaCheck completely standalone, with its built-in test runner. diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/scalacheck.mf b/scalacheck.mf deleted file mode 100644 index 9f1acc3..0000000 --- a/scalacheck.mf +++ /dev/null @@ -1,8 +0,0 @@ -Specification-Title: scalacheck -Specification-Vendor: org.scalacheck -Specification-Version: @VERSION@ -Implementation-Title: scalacheck -Implementation-URL: http://www.scalacheck.org -Implementation-Vendor: org.scalacheck -Implementation-Vendor-Id: org.scalacheck -Implementation-Version: @VERSION@ diff --git a/scalacheck.spec b/scalacheck.spec deleted file mode 100644 index 3803dc2..0000000 --- a/scalacheck.spec +++ /dev/null @@ -1,191 +0,0 @@ -# This package is a component of sbt, but needs sbt to build. Use this to -# bootstrap when sbt is not available. -%bcond_with sbt - -# Scal build version -%global scala_version 2.13 - -Name: scalacheck -Version: 1.17.0 -Release: 3%{?dist} -Summary: Property-based testing for Scala - -License: BSD-3-Clause -URL: https://scalacheck.org/ -Source0: https://github.com/typelevel/scalacheck/archive/v%{version}/%{name}-%{version}.tar.gz - -%if %{without sbt} -# We don't generate a POM from the ant build -Source1: https://repo1.maven.org/maven2/org/scalacheck/%{name}_%{scala_version}/%{version}/%{name}_%{scala_version}-%{version}.pom -Source2: %{name}.mf -Source3: Generate.java -%endif - -BuildArch: noarch -ExclusiveArch: %{java_arches} noarch - -BuildRequires: maven-local -BuildRequires: mvn(org.apache.commons:commons-lang3) -BuildRequires: mvn(org.scala-sbt:test-interface) -%if %{without sbt} -BuildRequires: mvn(org.scala-lang:scala-compiler) -%else -BuildRequires: sbt -%endif - -%description -ScalaCheck is a library written in Scala and used for automated -property-based testing of Scala or Java programs. ScalaCheck was -originally inspired by the Haskell library QuickCheck, but has also -ventured into its own. - -ScalaCheck has no external dependencies other than the Scala runtime, -and works great with sbt, the Scala build tool. It is also fully -integrated in the test frameworks ScalaTest, specs2, and LambdaTest. -You can of course also use ScalaCheck completely standalone, with its -built-in test runner. - -%prep -%autosetup - -%if %{with sbt} -cp -r /usr/share/java/sbt/ivy-local . -mkdir boot -%endif - -%mvn_file org.%{name}:%{name}_%{scala_version} %{name} - -%build -%if %{without sbt} -# Generate files -GENDIR=$PWD/core/shared/src/main/scala/org/scalacheck -cd project -cp -p %{SOURCE3} . -CLASSPATH=.:$(build-classpath scala/scala-library) -scalac -g:vars codegen.scala -javac -cp $CLASSPATH Generate.java -java -cp $CLASSPATH Generate $GENDIR -cd - - -# Build the jar -mkdir target -files="project/codegen.scala $(find core/shared/src/main/scala -name \*.scala)" -files="$files $(find core/shared/src/main/scala-2.13+ -name \*.scala)" -files="$files $(find core/jvm/src/main -name \*.scala)" -scalac -g:vars -release 11 -classpath $(build-classpath test-interface) \ - -d target $files -cd target -sed 's/@VERSION@/%{version}/g' %{SOURCE2} > %{name}.mf -jar -c -m %{name}.mf -f %{name}.jar org -cd - -%mvn_artifact %{SOURCE1} target/%{name}.jar -%else -export SBT_BOOT_DIR=$PWD/boot -export SBT_IVY_DIR=$PWD/ivy-local -sbt package deliverLocal publishM2Configuration -%mvn_artifact target/scala-%{scala_version}/%{name}_%{scala_version}-%{version}.pom target/scala-%{scala_version}/%{name}_%{scala_version}-%{version}.jar -%endif - -%install -%mvn_install - -%files -f .mfiles -%doc CHANGELOG.markdown README.markdown doc/UserGuide.md -%license LICENSE - -%changelog -* Sat Jul 22 2023 Fedora Release Engineering - 1.17.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 1.17.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Sep 16 2022 Jerry James - 1.17.0-1 -- Version 1.17.0 -- Convert License tag to SPDX - -* Sat Jul 23 2022 Fedora Release Engineering - 1.16.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jul 08 2022 Jiri Vanek - 1.16.0-2 -- Rebuilt for Drop i686 JDKs - -* Fri Apr 8 2022 Jerry James - 1.16.0-1 -- Version 1.16.0 - -* Sat Feb 05 2022 Jiri Vanek - 1.15.4-4 -- Rebuilt for java-17-openjdk as system jdk - -* Sat Jan 22 2022 Fedora Release Engineering - 1.15.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.15.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu May 6 2021 Jerry James - 1.15.4-1 -- Version 1.15.4 - -* Wed Feb 24 2021 Jerry James - 1.15.3-1 -- Version 1.15.3 - -* Wed Jan 27 2021 Fedora Release Engineering - 1.15.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jan 11 2021 Jerry James - 1.15.2-1 -- Version 1.15.2 - -* Sat Aug 01 2020 Fedora Release Engineering - 1.11.3-17 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.11.3-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sat Jul 11 2020 Jiri Vanek - 1.11.3-15 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Thu Jan 30 2020 Fedora Release Engineering - 1.11.3-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Jul 26 2019 Fedora Release Engineering - 1.11.3-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 1.11.3-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 1.11.3-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 1.11.3-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.11.3-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.11.3-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.11.3-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Aug 06 2015 gil cattaneo 1.11.3-6 -- Fix FTBFS RHBZ#1107280 -- Introduce license macro - -* Fri Jun 19 2015 Fedora Release Engineering - 1.11.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 1.11.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Feb 10 2014 William Benton - 1.11.3-3 -- rebuild - -* Thu Jan 30 2014 William Benton - 1.11.3-2 -- rebuild now that all of our dependencies are in stable - -* Wed Jan 29 2014 William Benton - 1.11.3-1 -- added optional but on-by-default Ant build (thanks to Gil Cattaneo for contributing this!) - -* Mon Dec 23 2013 William Benton - 1.11.0-1 -- initial package diff --git a/scalacheck_2.13-1.17.0.pom b/scalacheck_2.13-1.17.0.pom deleted file mode 100644 index 220ca70..0000000 --- a/scalacheck_2.13-1.17.0.pom +++ /dev/null @@ -1,57 +0,0 @@ - - - 4.0.0 - org.scalacheck - scalacheck_2.13 - jar - scalacheck - http://www.scalacheck.org - 1.17.0 - - - BSD 3-clause - https://opensource.org/licenses/BSD-3-Clause - repo - - - scalacheck - - Typelevel - http://www.scalacheck.org - - - https://github.com/typelevel/scalacheck - scm:git:https://github.com/typelevel/scalacheck.git - scm:git:git@github.com:typelevel/scalacheck.git - - - - rickynils - Rickard Nilsson - https://github.com/rickynils - rickynils@gmail.com - - - - https://www.javadoc.io/doc/org.scalacheck/scalacheck_2.13/1.17.0/ - early-semver - - - - org.scala-lang - scala-library - 2.13.8 - - - org.apache.commons - commons-lang3 - 3.12.0 - test - - - org.scala-sbt - test-interface - 1.0 - - - \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index 04f7487..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (scalacheck-1.17.0.tar.gz) = fe2e0473626896670fa0a17a7a9bb0e1a37dbc6e88fd2183b17528f92064d3da9ef8ece2364fe3da67dd9467ce2e1263481db724f0bdfbdad694cdd75df2ca42