summaryrefslogtreecommitdiff
path: root/dev-python/pweave
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-01 20:53:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-01 20:53:45 +0000
commit896d6a8a88861c42b5d531a2f147c8a29a149bd8 (patch)
tree081fe10813721a96088dca6b54bc35bcac18afc6 /dev-python/pweave
parent3059f20995d5ac642b7b4a38d538fdf1cc45d90d (diff)
gentoo auto-resync : 01:12:2022 - 20:53:45
Diffstat (limited to 'dev-python/pweave')
-rw-r--r--dev-python/pweave/Manifest5
-rw-r--r--dev-python/pweave/files/pweave-0.30.3-docs.patch12
-rw-r--r--dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch115
-rw-r--r--dev-python/pweave/metadata.xml12
-rw-r--r--dev-python/pweave/pweave-0.30.3-r1.ebuild57
5 files changed, 0 insertions, 201 deletions
diff --git a/dev-python/pweave/Manifest b/dev-python/pweave/Manifest
deleted file mode 100644
index bde359ee710e..000000000000
--- a/dev-python/pweave/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX pweave-0.30.3-docs.patch 384 BLAKE2B f965c866a87e4ba7084767e73113d119ca6c1c7ce5d184d843f84cdf9f3237038a2192aa41b834d9b39f584ee5294d802857d1fb0f2d457721b2b82376b00215 SHA512 7a4396e2383c630e1bd8cab770952e8898be157b80dab23ce0f7cabcc1ecda4bed9a9cb4ad46d48e521b05de7de324106128d281ef88e06735425cc430f43717
-AUX pweave-0.30.3-rm-online-tests.patch 3991 BLAKE2B ea2462239edd8cf029a308a0fb3d3464a3932d6f714e7d6501730e62deb6b417482c5dc67a023c467d3efc1456674f0d31fa96f585ba9d81943e4c9dcf0aa875 SHA512 74f496bd263d87b9f63293be843eac78c40c6f66de5b493afe8aca893441e43bf02b157130b8252f893a928c8a03ac6b7594ae2876b4af1c1a2745e0aaf8d3ba
-DIST pweave-0.30.3.tar.gz 2173323 BLAKE2B 13aaa70d424026e58648ee949d8046d1f9fdf6e402df018b120dbb235c7b7a29846cb341aba1642c97be5a8ebafeea33a71be177f92498db186e8044624eebb8 SHA512 d2ffc2a6921837eff471041cc13789ac370d9e00c8a66f451ae53859c110c838e360b4bfd820aa33656fdf509cda8dc24a1d2c1bfcb44ae99de751726c33b3ae
-EBUILD pweave-0.30.3-r1.ebuild 1340 BLAKE2B e1bec7745cb106b29c57d2544be9d133206fbb60b5562e49b26096f009063caae45f0fbf1c5c7c73fa1ca0225dd1502154572666ef9f7e17a8c87dce70624676 SHA512 48dcb6bfabbc6f972a8b80a2cefb95561dc3437b85f080ef3d4059098b16778f7677b209ab72b4169e243b2f75e058545f0b532d3c8981934214b15c3b08bae3
-MISC metadata.xml 352 BLAKE2B 5ffd76e203cb2191f7eef93db396ec500e80029ad1fe9428b190833272a75b778c82e0013040d32f68a4f797257518d82eef2ebfcd4a2ed0d6dd5cc1267de8cb SHA512 6a686497e98ebffe4cbd469501fc679cfb6a67567811bbca052d745b4fc4cc50c476709f04f84f77bb8d0f4a7edcfd7ca2d4eac2048e37c30b4a74fd4e47d67b
diff --git a/dev-python/pweave/files/pweave-0.30.3-docs.patch b/dev-python/pweave/files/pweave-0.30.3-docs.patch
deleted file mode 100644
index 11021bd86522..000000000000
--- a/dev-python/pweave/files/pweave-0.30.3-docs.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/doc/source/conf.py b/doc/source/conf.py
-index 2529bca..1066a51 100644
---- a/doc/source/conf.py
-+++ b/doc/source/conf.py
-@@ -1,6 +1,6 @@
- import sys, os
-
--extensions = ['sphinx.ext.todo', 'sphinx.ext.pngmath', 'sphinx.ext.autodoc', 'sphinx.ext.viewcode']
-+extensions = ['sphinx.ext.todo', 'sphinx.ext.autodoc', 'sphinx.ext.viewcode']
-
- templates_path = ['_templates']
-
diff --git a/dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch b/dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch
deleted file mode 100644
index 3c5f1a227bec..000000000000
--- a/dev-python/pweave/files/pweave-0.30.3-rm-online-tests.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-diff --git a/tests/test_formatters.py b/tests/test_formatters.py
-deleted file mode 100644
-index 90cb45b..0000000
---- a/tests/test_formatters.py
-+++ /dev/null
-@@ -1,58 +0,0 @@
--import unittest
--import pweave
--import pickle
--import os
--
--class FormatterTest(unittest.TestCase):
-- """Test formatters"""
--
--
-- def setUp(self):
-- self.doc = pweave.Pweb("tests/formats/formatters_test.pmd")
-- self.doc.run()
-- #pickle.dump(self.doc.executed, open("tests/formats/formatters_test.pkl", "wb"))
-- with open("tests/formats/formatters_test.pkl", "rb") as f:
-- e = pickle.load(f)
-- self.doc.executed = e
-- self.out_base = "tests/formats/formatters_test.%s"
-- self.ref_base = "tests/formats/formatters_test_REF.%s"
--
-- def testFormatters(self):
-- formats = sorted(list(pweave.formatters.PwebFormats.formats.keys()))
-- for format in formats:
-- if "pandoc2latex" in format or "2html" in format: #No pandoc on travis
-- continue
-- self.doc.setformat(format)
-- self.doc.format()
-- self.out_file = self.out_base % format
-- self.ref_file = self.ref_base % format
-- self.doc.output = self.out_file
-- self.doc.write()
-- if "2html" in format:
-- pass
-- #Need to ignore same amount from beginning
-- #End is variable lenght, anyway tested with test_publish
-- #self.assertSameAsReference(1000) #Ignore changing footer
-- else:
-- self.assertSameAsReference()
-- try:
-- os.remove(self.out_file)
-- except FileNotFoundError:
-- pass
--
-- def contentOf(self, filename, end_ignore):
-- fh = open(filename)
-- content = fh.read()
-- fh.close()
-- if end_ignore > 0:
-- return(content[:-end_ignore])
-- return content
--
-- def assertSameAsReference(self, end_ignore = -1):
-- self.assertEqual(self.contentOf(self.out_file, end_ignore),
-- self.contentOf(self.ref_file, end_ignore))
--
--
--
--if __name__ == '__main__':
-- unittest.main()
-diff --git a/tests/test_publish.py b/tests/test_publish.py
-deleted file mode 100644
-index 0c5e587..0000000
---- a/tests/test_publish.py
-+++ /dev/null
-@@ -1,23 +0,0 @@
--import pweave
--import os, io
--
--def test_publish():
-- """Test pypublish"""
-- pweave.publish("tests/publish/publish_test.txt", doc_format="html")
-- test = io.open("tests/publish/publish_test.html", "r").read().encode("utf-8")
-- ref = io.open("tests/publish/publish_test_ref.html", "r").read().encode("utf-8")
-- #Leave out the changing footer
-- assert (test[:len(test) - 400] == ref[:len(test) - 400])
--
--def test_publish_cell():
-- """Test pypublish cell format"""
-- pweave.publish("tests/publish/publish_test_cell.txt", doc_format="html")
-- test = io.open("tests/publish/publish_test_cell.html", "r").read().encode("utf-8")
-- ref = io.open("tests/publish/publish_test_ref.html", "r").read().encode("utf-8")
-- #Leave out the changing footer
-- assert (test[:len(test) - 400] == ref[:len(test) - 400])
--
--
--if __name__ == '__main__':
-- test_publish()
-- test_publish_cell()
-diff --git a/tests/test_readers.py b/tests/test_readers.py
-index 69a0303..69cd500 100644
---- a/tests/test_readers.py
-+++ b/tests/test_readers.py
-@@ -13,12 +13,6 @@ def test_script():
- "tests/publish/publish_test_REF.py")
-
-
--def test_url():
-- pweave.weave("http://files.mpastell.com/formatters_test.pmd", doctype = "pandoc", output = "tests/formats/formatters_url.md")
-- assertSameContent("tests/formats/formatters_url.md", "tests/formats/formatters_test_REF.markdown")
--
--
--
- def assertSameContent(REF, outfile):
- out = open(outfile)
- ref = open(REF)
-@@ -27,4 +21,3 @@ def assertSameContent(REF, outfile):
- if __name__ == '__main__':
- test_markdown()
- test_script()
-- test_url()
diff --git a/dev-python/pweave/metadata.xml b/dev-python/pweave/metadata.xml
deleted file mode 100644
index 4a947fc9ac1b..000000000000
--- a/dev-python/pweave/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>andrewammerlaan@gentoo.org</email>
- <name>Andrew Ammerlaan</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">Pweave</remote-id>
- </upstream>
- <stabilize-allarches/>
-</pkgmetadata>
diff --git a/dev-python/pweave/pweave-0.30.3-r1.ebuild b/dev-python/pweave/pweave-0.30.3-r1.ebuild
deleted file mode 100644
index 49d90a3f166d..000000000000
--- a/dev-python/pweave/pweave-0.30.3-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-MY_PN="Pweave"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Scientific report generator and literate programming tool"
-HOMEPAGE="http://mpastell.com/pweave/
- https://github.com/mpastell/Pweave"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-IUSE="examples"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
- "${FILESDIR}/${P}-docs.patch"
- "${FILESDIR}/${P}-rm-online-tests.patch" )
-
-RDEPEND="
- dev-python/ipython[${PYTHON_USEDEP}]
- dev-python/ipykernel[${PYTHON_USEDEP}]
- dev-python/jupyter_client[${PYTHON_USEDEP}]
- dev-python/markdown[${PYTHON_USEDEP}]
- dev-python/nbconvert[${PYTHON_USEDEP}]
- dev-python/nbformat[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
-"
-
-DEPEND="test? (
- dev-python/coverage[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/notebook[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
-)"
-
-distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme
-distutils_enable_tests pytest
-
-python_install_all() {
- if use examples; then
- insinto /usr/share/${PN}
- doins -r doc/examples
- fi
-
- distutils-r1_python_install_all
-}