[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2024-04-12 Thread Henri Gasc
commit: 50e8f584778f4f588eeb1a1001cb5c51430d39cf
Author: Henri Gasc  eurecom  fr>
AuthorDate: Fri Apr 12 12:20:00 2024 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Fri Apr 12 12:20:00 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50e8f584

dev-python/pypandoc: Add explanations on tests

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/pypandoc/pypandoc-1.13.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/pypandoc/pypandoc-1.13.ebuild 
b/dev-python/pypandoc/pypandoc-1.13.ebuild
index 77de009e84..441173f9be 100644
--- a/dev-python/pypandoc/pypandoc-1.13.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.13.ebuild
@@ -31,7 +31,9 @@ BDEPEND="
 "
 
 EPYTEST_DESELECT=(
+   # Need internet
tests.py::TestPypandoc::test_basic_conversion_from_http_url
+   # pandoc does not manage to find pdflatex.fmt despite it being installed
tests.py::TestPypandoc::test_pdf_conversion
 )
 python_test() {



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2024-04-11 Thread Henri Gasc
commit: 8c79ac730c27170380fc52c84b080f221edfd941
Author: Henri Gasc  eurecom  fr>
AuthorDate: Thu Apr 11 21:04:35 2024 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Thu Apr 11 21:04:35 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c79ac73

dev-python/pypandoc: add 1.13, drop 1.11 1.4

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/pypandoc/Manifest |  3 +--
 .../{pypandoc-1.11.ebuild => pypandoc-1.13.ebuild}   | 20 ++--
 dev-python/pypandoc/pypandoc-1.4.ebuild  | 19 ---
 3 files changed, 11 insertions(+), 31 deletions(-)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index 4ede9a599c..65b8084d62 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1,2 +1 @@
-DIST pypandoc-1.11.gh.tar.gz 69118 BLAKE2B 
d2a48c6c342325bd8a38ac697616ea5f694fe5928d1538e4ee47d4ffbcdc1c1206e9d68eea214c3edffabef0018cb2950f0cda7e700be5894cb41fe7a7de3446
 SHA512 
1ca753ac2da9ad1a98c72aa639b6809e31d8c5da85a3a843f91675f95861e5056c183f67d73008c064b8fd2c82a4cd255f20b1c0073cc288a1e0e6a74caa9f94
-DIST pypandoc-1.4.gh.tar.gz 35326 BLAKE2B 
8de64056437bb7605adacc6efcb7800c228ecd98e24aed64adae09f8fff921aa260fd35b015db0611c0e2f0331766e7a75443833301467584574283665744c6c
 SHA512 
e6210c8b63758d09b12f1cef2e755ae70befa2b5cd66034d9981217b2fa684b90bf6b6edc46968abcb775721a0b32467c924866be743dde74fe77a20b94453d5
+DIST pypandoc-1.13.gh.tar.gz 70605 BLAKE2B 
36de13986a1f6812491f5e8d893b41baf7d8b170e6804b14d14ee1786786a57e11f4ec22a764ed28dcfa8edbfdc7a90726d0b907bb66e15573a1f587d7c261a8
 SHA512 
6f7acb4fd113606244a4a6eccac28bc4605e038da19dbb8c86c65b4b6a00aa5bc7cd0a8740145784335b10fb5d12bb85857c41a5a69bfb70c1d845c3738dcfa1

diff --git a/dev-python/pypandoc/pypandoc-1.11.ebuild 
b/dev-python/pypandoc/pypandoc-1.13.ebuild
similarity index 60%
rename from dev-python/pypandoc/pypandoc-1.11.ebuild
rename to dev-python/pypandoc/pypandoc-1.13.ebuild
index 9c396f33a3..77de009e84 100644
--- a/dev-python/pypandoc/pypandoc-1.11.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.13.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517="poetry"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
@@ -16,12 +16,13 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="test"
-RESTRICT="test"
+RESTRICT="!test? ( test )"
 
-RDEPEND="app-text/pandoc"
+RDEPEND="virtual/pandoc"
 BDEPEND="
test? (
>=dev-python/pandocfilters-1.5.0[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
app-text/texlive-core
dev-texlive/texlive-latex
dev-texlive/texlive-fontsrecommended
@@ -29,11 +30,10 @@ BDEPEND="
)
 "
 
+EPYTEST_DESELECT=(
+   tests.py::TestPypandoc::test_basic_conversion_from_http_url
+   tests.py::TestPypandoc::test_pdf_conversion
+)
 python_test() {
-   # This test wants internet access
-   sed -i -e 's:test_basic_conversion_from_http_url:_&:' tests.py || die
-   # This one fails for no reason. When not in sandbox mode, the 
conversion is made without problems
-   sed -i -e 's:test_conversion_with_data_files:_&:' tests.py || die
-
-   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+   epytest tests.py
 }

diff --git a/dev-python/pypandoc/pypandoc-1.4.ebuild 
b/dev-python/pypandoc/pypandoc-1.4.ebuild
deleted file mode 100644
index cf7eac5865..00
--- a/dev-python/pypandoc/pypandoc-1.4.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
-HOMEPAGE="https://github.com/JessicaTegner/pypandoc 
https://pypi.org/project/pypandoc;
-SRC_URI="https://github.com/JessicaTegner/pypandoc/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="app-text/pandoc"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2023-09-05 Thread Henri Gasc
commit: ef00d95b292f1a3e73c81c35b3b7a1f492b911b6
Author: Henri Gasc  eurecom  fr>
AuthorDate: Mon Sep  4 21:24:03 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Tue Sep  5 06:56:13 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef00d95b

dev-python/pypandoc: add 1.4 (needed by dev-python/imgui)

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/pypandoc/Manifest|  1 +
 dev-python/pypandoc/pypandoc-1.4.ebuild | 19 +++
 2 files changed, 20 insertions(+)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index d92e0792a1..4ede9a599c 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1 +1,2 @@
 DIST pypandoc-1.11.gh.tar.gz 69118 BLAKE2B 
d2a48c6c342325bd8a38ac697616ea5f694fe5928d1538e4ee47d4ffbcdc1c1206e9d68eea214c3edffabef0018cb2950f0cda7e700be5894cb41fe7a7de3446
 SHA512 
1ca753ac2da9ad1a98c72aa639b6809e31d8c5da85a3a843f91675f95861e5056c183f67d73008c064b8fd2c82a4cd255f20b1c0073cc288a1e0e6a74caa9f94
+DIST pypandoc-1.4.gh.tar.gz 35326 BLAKE2B 
8de64056437bb7605adacc6efcb7800c228ecd98e24aed64adae09f8fff921aa260fd35b015db0611c0e2f0331766e7a75443833301467584574283665744c6c
 SHA512 
e6210c8b63758d09b12f1cef2e755ae70befa2b5cd66034d9981217b2fa684b90bf6b6edc46968abcb775721a0b32467c924866be743dde74fe77a20b94453d5

diff --git a/dev-python/pypandoc/pypandoc-1.4.ebuild 
b/dev-python/pypandoc/pypandoc-1.4.ebuild
new file mode 100644
index 00..cf7eac5865
--- /dev/null
+++ b/dev-python/pypandoc/pypandoc-1.4.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
+HOMEPAGE="https://github.com/JessicaTegner/pypandoc 
https://pypi.org/project/pypandoc;
+SRC_URI="https://github.com/JessicaTegner/pypandoc/archive/refs/tags/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-text/pandoc"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2023-09-05 Thread Henri Gasc
commit: 5273ae4c722ba2655fde06579d4ddf3371da8d20
Author: Henri Gasc  eurecom  fr>
AuthorDate: Mon Sep  4 20:46:50 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Tue Sep  5 06:56:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5273ae4c

dev-python/pypandoc: new package, add 1.11

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/pypandoc/Manifest |  1 +
 dev-python/pypandoc/metadata.xml | 12 ++
 dev-python/pypandoc/pypandoc-1.11.ebuild | 39 
 3 files changed, 52 insertions(+)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
new file mode 100644
index 00..d92e0792a1
--- /dev/null
+++ b/dev-python/pypandoc/Manifest
@@ -0,0 +1 @@
+DIST pypandoc-1.11.gh.tar.gz 69118 BLAKE2B 
d2a48c6c342325bd8a38ac697616ea5f694fe5928d1538e4ee47d4ffbcdc1c1206e9d68eea214c3edffabef0018cb2950f0cda7e700be5894cb41fe7a7de3446
 SHA512 
1ca753ac2da9ad1a98c72aa639b6809e31d8c5da85a3a843f91675f95861e5056c183f67d73008c064b8fd2c82a4cd255f20b1c0073cc288a1e0e6a74caa9f94

diff --git a/dev-python/pypandoc/metadata.xml b/dev-python/pypandoc/metadata.xml
new file mode 100644
index 00..96745e62d5
--- /dev/null
+++ b/dev-python/pypandoc/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   g...@eurecom.fr
+   Gasc Henri
+   
+   
+   pypandoc
+   JessicaTegner/pypandoc
+   
+

diff --git a/dev-python/pypandoc/pypandoc-1.11.ebuild 
b/dev-python/pypandoc/pypandoc-1.11.ebuild
new file mode 100644
index 00..9c396f33a3
--- /dev/null
+++ b/dev-python/pypandoc/pypandoc-1.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517="poetry"
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
+HOMEPAGE="https://github.com/JessicaTegner/pypandoc 
https://pypi.org/project/pypandoc;
+SRC_URI="https://github.com/JessicaTegner/pypandoc/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="test"
+
+RDEPEND="app-text/pandoc"
+BDEPEND="
+   test? (
+   >=dev-python/pandocfilters-1.5.0[${PYTHON_USEDEP}]
+   app-text/texlive-core
+   dev-texlive/texlive-latex
+   dev-texlive/texlive-fontsrecommended
+   dev-texlive/texlive-latexrecommended
+   )
+"
+
+python_test() {
+   # This test wants internet access
+   sed -i -e 's:test_basic_conversion_from_http_url:_&:' tests.py || die
+   # This one fails for no reason. When not in sandbox mode, the 
conversion is made without problems
+   sed -i -e 's:test_conversion_with_data_files:_&:' tests.py || die
+
+   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/files/, dev-python/pypandoc/, profiles/

2023-02-27 Thread Anna Vyalkova
commit: ef36b038eb5e9c1538f33cfc5394ebcbfc481573
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Mon Feb 27 21:06:48 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Mon Feb 27 21:06:48 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef36b038

dev-python/pypandoc: treeclean

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/pypandoc/Manifest   |  2 --
 .../pypandoc-1.7.4-dont-install-examples.patch | 23 -
 dev-python/pypandoc/metadata.xml   | 13 ---
 dev-python/pypandoc/pypandoc-1.8.1.ebuild  | 40 --
 dev-python/pypandoc/pypandoc-1.8.ebuild| 40 --
 profiles/package.mask  |  4 ---
 6 files changed, 122 deletions(-)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
deleted file mode 100644
index ea8f70982..0
--- a/dev-python/pypandoc/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pypandoc-1.8.1.tar.gz 30374 BLAKE2B 
864ab8d4db8857adcbd13fd72b1ef6d4d1857a5ff6e7511b5d8269c183d80e6c8f391f2982097e592e3a1417c2ee6a5b068956b76218ae13842f1a881ecb4047
 SHA512 
527de67fb4a329642a69422e6237a6f3b1df0d089fbeeb118c9fd2d54878d7d0565c161b0e8fd6aa864bd63498ed65b07d69f14c3976ffc079f31c12ebbe7c04
-DIST pypandoc-1.8.tar.gz 31218 BLAKE2B 
8eabcfa76b3022f0f8ed03dc2bb351d159018f63aa4a656d2b44d20ee59c0c6863fdc5ac168a86a70bf099c5c82c97451de97057a3e40c74c9b8af3eedb3c71c
 SHA512 
a8b0e3656788cdf43af214c75ecc4f4bd27620ead00a7ce4c32ca44b4f30d7e2196164162eb12470db25c17e9b2f26868149a7b29549b0b9ebbedfc8e470bdb1

diff --git 
a/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch 
b/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch
deleted file mode 100644
index 2e84756c8..0
--- a/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 44fa67fc92993301ec3e446d342a74c49d58334c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= 
-Date: Fri, 18 Mar 2022 08:41:08 +0500
-Subject: [PATCH] Don't install examples
-
-See Gentoo Bugzilla: https://bugs.gentoo.org/835475
 a/pyproject.toml
-+++ b/pyproject.toml
-@@ -32,14 +32,6 @@ packages = [
- { include = "pypandoc" },
- ]
- 
--include = [
--"examples/*",
--"LICENSE",
--"README.md",
--"tests.py",
--"filter_test.md",
--]
--
- [tool.poetry.dependencies]
- python = "^2.7 || ^3.6"
- 

diff --git a/dev-python/pypandoc/metadata.xml b/dev-python/pypandoc/metadata.xml
deleted file mode 100644
index dd7560284..0
--- a/dev-python/pypandoc/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-  
-co-maintainers welcome
-lssndrbarbi...@gmail.com
-Alessandro Barbieri
-  
-  
-bebraw/pypandoc
-pypandoc
-  
-

diff --git a/dev-python/pypandoc/pypandoc-1.8.1.ebuild 
b/dev-python/pypandoc/pypandoc-1.8.1.ebuild
deleted file mode 100644
index 0e208b881..0
--- a/dev-python/pypandoc/pypandoc-1.8.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
-HOMEPAGE="
-   https://github.com/NicklasTegner/pypandoc
-   https://pypi.org/project/pypandoc/
-"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-
-RDEPEND="
-   app-text/pandoc
-   dev-haskell/pandoc-citeproc
-   dev-texlive/texlive-latex
-"
-DEPEND="
-   ${RDEPEND}
-   >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/urllib3[${PYTHON_USEDEP}]
-"
-
-PROPERTIES="test_network"
-RESTRICT="test"
-
-python_test() {
-   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/pypandoc/pypandoc-1.8.ebuild 
b/dev-python/pypandoc/pypandoc-1.8.ebuild
deleted file mode 100644
index 0e208b881..0
--- a/dev-python/pypandoc/pypandoc-1.8.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
-HOMEPAGE="
-   https://github.com/NicklasTegner/pypandoc
-   https://pypi.org/project/pypandoc/
-"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-
-RDEPEND="
-   app-text/pandoc
-   dev-haskell/pandoc-citeproc
-   dev-texlive/texlive-latex
-"
-DEPEND="
-   ${RDEPEND}
-   

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2022-05-24 Thread Alessandro Barbieri
commit: 067817fd0e6341217085cf63aeb5fa0b361cbb63
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue May 24 16:36:53 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Tue May 24 17:36:39 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=067817fd

dev-python/pypandoc: add 1.8.1, drop 1.7.5

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/pypandoc/Manifest | 2 +-
 dev-python/pypandoc/{pypandoc-1.7.5.ebuild => pypandoc-1.8.1.ebuild} | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index 60b485203..ea8f70982 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1,2 +1,2 @@
-DIST pypandoc-1.7.5.tar.gz 23186705 BLAKE2B 
2718e2c4485a10e2a1f78e59b893b8041fcbfd6fd3393c8fcf429625fb0fbe0a0f83229323579e58fb40b6fb85fe018ecc7b597de7774e20e2736f301761fc9f
 SHA512 
bbd5e96a98b1030aa7dfbeaea12dc5c053e9b3182c0feca6d6cec6eba9c148662a628cbe12b1ddf8a4f2891df98fe8f60fc1bde0d5d2f60664dd3e412974655f
+DIST pypandoc-1.8.1.tar.gz 30374 BLAKE2B 
864ab8d4db8857adcbd13fd72b1ef6d4d1857a5ff6e7511b5d8269c183d80e6c8f391f2982097e592e3a1417c2ee6a5b068956b76218ae13842f1a881ecb4047
 SHA512 
527de67fb4a329642a69422e6237a6f3b1df0d089fbeeb118c9fd2d54878d7d0565c161b0e8fd6aa864bd63498ed65b07d69f14c3976ffc079f31c12ebbe7c04
 DIST pypandoc-1.8.tar.gz 31218 BLAKE2B 
8eabcfa76b3022f0f8ed03dc2bb351d159018f63aa4a656d2b44d20ee59c0c6863fdc5ac168a86a70bf099c5c82c97451de97057a3e40c74c9b8af3eedb3c71c
 SHA512 
a8b0e3656788cdf43af214c75ecc4f4bd27620ead00a7ce4c32ca44b4f30d7e2196164162eb12470db25c17e9b2f26868149a7b29549b0b9ebbedfc8e470bdb1

diff --git a/dev-python/pypandoc/pypandoc-1.7.5.ebuild 
b/dev-python/pypandoc/pypandoc-1.8.1.ebuild
similarity index 88%
rename from dev-python/pypandoc/pypandoc-1.7.5.ebuild
rename to dev-python/pypandoc/pypandoc-1.8.1.ebuild
index 26ff6c3da..0e208b881 100644
--- a/dev-python/pypandoc/pypandoc-1.7.5.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.8.1.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1
 
 DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
 HOMEPAGE="
-   https://github.com/bebraw/pypandoc
+   https://github.com/NicklasTegner/pypandoc
https://pypi.org/project/pypandoc/
 "
 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
@@ -32,7 +32,6 @@ DEPEND="
dev-python/urllib3[${PYTHON_USEDEP}]
 "
 
-PATCHES=( "${FILESDIR}/${PN}-1.7.4-dont-install-examples.patch" )
 PROPERTIES="test_network"
 RESTRICT="test"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2022-04-04 Thread Alessandro Barbieri
commit: 6d03ca6f0d0ffac3bb3fea82864fd71fcea2f7cf
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Apr  4 18:57:27 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Apr  4 19:32:02 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d03ca6f

dev-python/pypandoc: add 1.7.5, drop 1.7.2

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/pypandoc/Manifest | 2 +-
 dev-python/pypandoc/{pypandoc-1.7.2.ebuild => pypandoc-1.7.5.ebuild} | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index 633327a82..59a93f827 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1,2 +1,2 @@
-DIST pypandoc-1.7.2.tar.gz 27900 BLAKE2B 
f09d1e3431717be44ea396ee44d2d00c11ed0e181d7f79d6be98536b9474972efe146e7c94eb571ab3f7dd2acf32ed53581d4b738497650c37a91e54ead5985e
 SHA512 
95387c18768e480869eac334e5dcfc4ea978033d423de055d616a4a1ef015fe1fbc6a25405c086811621f4ad2d599c9fa245e740de5504baaf801bc522a6fb29
 DIST pypandoc-1.7.4.tar.gz 30526 BLAKE2B 
44ea2083e014874e4fc5ce9ce8d2dcff64319e7d0d77baffc61fa0d0c2a7fd209642f706eaf4ad258b65a4f0ad8851a9ea02d38d0db4e71c136b972a5934cb79
 SHA512 
01a7165974ca844b55c387e8ed9b5278c43b5879ca6ea51e0aafab9f035667d37fc06a52a5c0820e18b321ddd5185e53a49561c84e157cb0ead76c7f84d0bcc1
+DIST pypandoc-1.7.5.tar.gz 23186705 BLAKE2B 
2718e2c4485a10e2a1f78e59b893b8041fcbfd6fd3393c8fcf429625fb0fbe0a0f83229323579e58fb40b6fb85fe018ecc7b597de7774e20e2736f301761fc9f
 SHA512 
bbd5e96a98b1030aa7dfbeaea12dc5c053e9b3182c0feca6d6cec6eba9c148662a628cbe12b1ddf8a4f2891df98fe8f60fc1bde0d5d2f60664dd3e412974655f

diff --git a/dev-python/pypandoc/pypandoc-1.7.2.ebuild 
b/dev-python/pypandoc/pypandoc-1.7.5.ebuild
similarity index 92%
rename from dev-python/pypandoc/pypandoc-1.7.2.ebuild
rename to dev-python/pypandoc/pypandoc-1.7.5.ebuild
index 4e5cda380..26ff6c3da 100644
--- a/dev-python/pypandoc/pypandoc-1.7.2.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.7.5.ebuild
@@ -32,6 +32,7 @@ DEPEND="
dev-python/urllib3[${PYTHON_USEDEP}]
 "
 
+PATCHES=( "${FILESDIR}/${PN}-1.7.4-dont-install-examples.patch" )
 PROPERTIES="test_network"
 RESTRICT="test"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/, dev-python/pypandoc/files/

2022-03-19 Thread Alessandro Barbieri
commit: 87810189eb7a315ce3bcf6c44ca3bddca87e101d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Mar 20 02:01:35 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Mar 20 02:01:35 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87810189

dev-python/pypandoc: don't install examples

Closes: https://bugs.gentoo.org/835475
Signed-off-by: Alessandro Barbieri  gmail.com>

 .../pypandoc-1.7.4-dont-install-examples.patch | 23 ++
 dev-python/pypandoc/pypandoc-1.7.4.ebuild  |  1 +
 2 files changed, 24 insertions(+)

diff --git 
a/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch 
b/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch
new file mode 100644
index 0..2e84756c8
--- /dev/null
+++ b/dev-python/pypandoc/files/pypandoc-1.7.4-dont-install-examples.patch
@@ -0,0 +1,23 @@
+From 44fa67fc92993301ec3e446d342a74c49d58334c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= 
+Date: Fri, 18 Mar 2022 08:41:08 +0500
+Subject: [PATCH] Don't install examples
+
+See Gentoo Bugzilla: https://bugs.gentoo.org/835475
+--- a/pyproject.toml
 b/pyproject.toml
+@@ -32,14 +32,6 @@ packages = [
+ { include = "pypandoc" },
+ ]
+ 
+-include = [
+-"examples/*",
+-"LICENSE",
+-"README.md",
+-"tests.py",
+-"filter_test.md",
+-]
+-
+ [tool.poetry.dependencies]
+ python = "^2.7 || ^3.6"
+ 

diff --git a/dev-python/pypandoc/pypandoc-1.7.4.ebuild 
b/dev-python/pypandoc/pypandoc-1.7.4.ebuild
index 4e5cda380..e58e3e7bd 100644
--- a/dev-python/pypandoc/pypandoc-1.7.4.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.7.4.ebuild
@@ -32,6 +32,7 @@ DEPEND="
dev-python/urllib3[${PYTHON_USEDEP}]
 "
 
+PATCHES=( "${FILESDIR}/${P}-dont-install-examples.patch" )
 PROPERTIES="test_network"
 RESTRICT="test"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2022-03-18 Thread Alessandro Barbieri
commit: 74d4b0683a003fb54e701339814f6e6808c17e6b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 18 09:05:02 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 18 09:05:02 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74d4b068

dev-python/pypandoc: add 1.7.4, drop 1.6.3

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/pypandoc/Manifest | 2 +-
 dev-python/pypandoc/{pypandoc-1.6.3.ebuild => pypandoc-1.7.4.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index 6e69b1ab8..633327a82 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1,2 +1,2 @@
-DIST pypandoc-1.6.3.tar.gz 25912 BLAKE2B 
341055a519f943b8593720d2797bae2c6bb7b7c60dc73efdfecc432fcdbcb1e7b30af138e62512dfea1da0c24dcba5b387891e005b773cae6c9a008c188a99ff
 SHA512 
74abcd569adfeebfd84e66c7b3e110fccd9200275ecfd32e78c297d4f18637c6dc3328c313c32c38b9b9504f64d24e6b59fdec505a539649a21d7e5434108c24
 DIST pypandoc-1.7.2.tar.gz 27900 BLAKE2B 
f09d1e3431717be44ea396ee44d2d00c11ed0e181d7f79d6be98536b9474972efe146e7c94eb571ab3f7dd2acf32ed53581d4b738497650c37a91e54ead5985e
 SHA512 
95387c18768e480869eac334e5dcfc4ea978033d423de055d616a4a1ef015fe1fbc6a25405c086811621f4ad2d599c9fa245e740de5504baaf801bc522a6fb29
+DIST pypandoc-1.7.4.tar.gz 30526 BLAKE2B 
44ea2083e014874e4fc5ce9ce8d2dcff64319e7d0d77baffc61fa0d0c2a7fd209642f706eaf4ad258b65a4f0ad8851a9ea02d38d0db4e71c136b972a5934cb79
 SHA512 
01a7165974ca844b55c387e8ed9b5278c43b5879ca6ea51e0aafab9f035667d37fc06a52a5c0820e18b321ddd5185e53a49561c84e157cb0ead76c7f84d0bcc1

diff --git a/dev-python/pypandoc/pypandoc-1.6.3.ebuild 
b/dev-python/pypandoc/pypandoc-1.7.4.ebuild
similarity index 91%
rename from dev-python/pypandoc/pypandoc-1.6.3.ebuild
rename to dev-python/pypandoc/pypandoc-1.7.4.ebuild
index adcfbab97..4e5cda380 100644
--- a/dev-python/pypandoc/pypandoc-1.6.3.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.7.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
+DISTUTILS_USE_PEP517=poetry
 PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2022-03-13 Thread Alessandro Barbieri
commit: 4d841a91e6a3ccd2be39cacd9367106ddace9c71
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Mar 14 02:30:52 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Mar 14 02:41:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d841a91

dev-python/pypandoc: add 1.7.2

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/pypandoc/Manifest  |  1 +
 dev-python/pypandoc/pypandoc-1.7.2.ebuild | 40 +++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index 28d45ce9a..6e69b1ab8 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1 +1,2 @@
 DIST pypandoc-1.6.3.tar.gz 25912 BLAKE2B 
341055a519f943b8593720d2797bae2c6bb7b7c60dc73efdfecc432fcdbcb1e7b30af138e62512dfea1da0c24dcba5b387891e005b773cae6c9a008c188a99ff
 SHA512 
74abcd569adfeebfd84e66c7b3e110fccd9200275ecfd32e78c297d4f18637c6dc3328c313c32c38b9b9504f64d24e6b59fdec505a539649a21d7e5434108c24
+DIST pypandoc-1.7.2.tar.gz 27900 BLAKE2B 
f09d1e3431717be44ea396ee44d2d00c11ed0e181d7f79d6be98536b9474972efe146e7c94eb571ab3f7dd2acf32ed53581d4b738497650c37a91e54ead5985e
 SHA512 
95387c18768e480869eac334e5dcfc4ea978033d423de055d616a4a1ef015fe1fbc6a25405c086811621f4ad2d599c9fa245e740de5504baaf801bc522a6fb29

diff --git a/dev-python/pypandoc/pypandoc-1.7.2.ebuild 
b/dev-python/pypandoc/pypandoc-1.7.2.ebuild
new file mode 100644
index 0..4e5cda380
--- /dev/null
+++ b/dev-python/pypandoc/pypandoc-1.7.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
+HOMEPAGE="
+   https://github.com/bebraw/pypandoc
+   https://pypi.org/project/pypandoc/
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   app-text/pandoc
+   dev-haskell/pandoc-citeproc
+   dev-texlive/texlive-latex
+"
+DEPEND="
+   ${RDEPEND}
+   >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+
+python_test() {
+   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2021-07-04 Thread Alessandro Barbieri
commit: ba9cbbe990b65710f80786222491155b6224f552
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Jul  5 00:00:25 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Jul  5 00:43:18 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba9cbbe9

dev-python/pypandoc: bump

Closes: https://bugs.gentoo.org/800362
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/pypandoc/Manifest |  2 +-
 .../{pypandoc-1.5.ebuild => pypandoc-1.6.3.ebuild}   | 16 
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
index cc22e0eff..28d45ce9a 100644
--- a/dev-python/pypandoc/Manifest
+++ b/dev-python/pypandoc/Manifest
@@ -1 +1 @@
-DIST pypandoc-1.5.tar.gz 26494 BLAKE2B 
f265effc55db8b1f706a4541f18119de2d07ab59ea83f80e6051ae4a4e36128d6b36c51e255c2ed0b0577c1df46284820c97f629fc3b790c301448a6bb39
 SHA512 
511f5f5f7bff8de686c3f74d3756d27a3ae245803e2e9b45abc957acf112b306eff057ce87e8f3b335de00b97d4753de31e9681830d9aa776247ca707683ed13
+DIST pypandoc-1.6.3.tar.gz 25912 BLAKE2B 
341055a519f943b8593720d2797bae2c6bb7b7c60dc73efdfecc432fcdbcb1e7b30af138e62512dfea1da0c24dcba5b387891e005b773cae6c9a008c188a99ff
 SHA512 
74abcd569adfeebfd84e66c7b3e110fccd9200275ecfd32e78c297d4f18637c6dc3328c313c32c38b9b9504f64d24e6b59fdec505a539649a21d7e5434108c24

diff --git a/dev-python/pypandoc/pypandoc-1.5.ebuild 
b/dev-python/pypandoc/pypandoc-1.6.3.ebuild
similarity index 70%
rename from dev-python/pypandoc/pypandoc-1.5.ebuild
rename to dev-python/pypandoc/pypandoc-1.6.3.ebuild
index 1a04fc841..adcfbab97 100644
--- a/dev-python/pypandoc/pypandoc-1.5.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.6.3.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1
 
@@ -17,6 +18,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="test"
 
 RDEPEND="
app-text/pandoc
@@ -30,11 +32,9 @@ DEPEND="
dev-python/urllib3[${PYTHON_USEDEP}]
 "
 
-python_test() {
-   # Skip tests. Wants: internet access
-   sed -i -e 's:test_basic_conversion_from_http_url:_&:' tests.py || die
-   # Skip tests. Wants: nonexistent font
-   sed -i -e 's:test_pdf_conversion:_&:' tests.py || die
+PROPERTIES="test_network"
+RESTRICT="test"
 
+python_test() {
"${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2021-05-21 Thread Maciej Barć
commit: 9507c47160df5902acb309c9c2b39ff0c1e36401
Author: Maciej Barć  riseup  net>
AuthorDate: Fri May 21 17:54:57 2021 +
Commit: Maciej Barć  riseup  net>
CommitDate: Fri May 21 17:54:57 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9507c471

dev-python/pypandoc: drop to maintainer-needed

Signed-off-by: Maciej Barć  riseup.net>

 dev-python/pypandoc/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/pypandoc/metadata.xml b/dev-python/pypandoc/metadata.xml
index 3c2f64ab9..3c418d0e9 100644
--- a/dev-python/pypandoc/metadata.xml
+++ b/dev-python/pypandoc/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-x...@riseup.net
-Maciej Barć
-  
+  
   
 bebraw/pypandoc
 pypandoc



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2020-11-11 Thread Maciej Barć
commit: 24420fd04c82a2f6782d8db2859a9a787f8a7342
Author: Maciej Barć  protonmail  com>
AuthorDate: Wed Nov 11 22:22:13 2020 +
Commit: Maciej Barć  protonmail  com>
CommitDate: Wed Nov 11 22:22:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24420fd0

dev-python/pypandoc: bump python compat

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć  protonmail.com>

 dev-python/pypandoc/pypandoc-1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pypandoc/pypandoc-1.5.ebuild 
b/dev-python/pypandoc/pypandoc-1.5.ebuild
index da1f8424..1a04fc84 100644
--- a/dev-python/pypandoc/pypandoc-1.5.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2020-09-21 Thread Maciej Barć
commit: 46c5c578a7451f3919ef46805415991d8c2383ff
Author: Maciej Barć  protonmail  com>
AuthorDate: Tue Sep 22 01:42:28 2020 +
Commit: Maciej Barć  protonmail  com>
CommitDate: Tue Sep 22 01:42:28 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46c5c578

dev-python/pypandoc: add python 3.8 compatibility

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Barć  protonmail.com>

 dev-python/pypandoc/pypandoc-1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pypandoc/pypandoc-1.5.ebuild 
b/dev-python/pypandoc/pypandoc-1.5.ebuild
index 6f5d84ca..180756a3 100644
--- a/dev-python/pypandoc/pypandoc-1.5.ebuild
+++ b/dev-python/pypandoc/pypandoc-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pypandoc/

2020-05-01 Thread Maciej Barć
commit: 34799235b4d6b8d392bbe60676645dd0b140e716
Author: Maciej Barć  protonmail  com>
AuthorDate: Fri May  1 17:23:05 2020 +
Commit: Maciej Barć  protonmail  com>
CommitDate: Fri May  1 17:23:05 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34799235

dev-python/pypandoc: new package; add version 1.5

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Maciej Barć  protonmail.com>

 dev-python/pypandoc/Manifest|  1 +
 dev-python/pypandoc/metadata.xml| 12 ++
 dev-python/pypandoc/pypandoc-1.5.ebuild | 40 +
 3 files changed, 53 insertions(+)

diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest
new file mode 100644
index 000..cc22e0e
--- /dev/null
+++ b/dev-python/pypandoc/Manifest
@@ -0,0 +1 @@
+DIST pypandoc-1.5.tar.gz 26494 BLAKE2B 
f265effc55db8b1f706a4541f18119de2d07ab59ea83f80e6051ae4a4e36128d6b36c51e255c2ed0b0577c1df46284820c97f629fc3b790c301448a6bb39
 SHA512 
511f5f5f7bff8de686c3f74d3756d27a3ae245803e2e9b45abc957acf112b306eff057ce87e8f3b335de00b97d4753de31e9681830d9aa776247ca707683ed13

diff --git a/dev-python/pypandoc/metadata.xml b/dev-python/pypandoc/metadata.xml
new file mode 100644
index 000..e2184ea
--- /dev/null
+++ b/dev-python/pypandoc/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+x...@protonmail.com
+Maciej Barć
+  
+  
+bebraw/pypandoc
+pypandoc
+  
+

diff --git a/dev-python/pypandoc/pypandoc-1.5.ebuild 
b/dev-python/pypandoc/pypandoc-1.5.ebuild
new file mode 100644
index 000..6f5d84c
--- /dev/null
+++ b/dev-python/pypandoc/pypandoc-1.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document 
converter"
+HOMEPAGE="
+   https://github.com/bebraw/pypandoc
+   https://pypi.org/project/pypandoc/
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   app-text/pandoc
+   dev-haskell/pandoc-citeproc
+   dev-texlive/texlive-latex
+"
+DEPEND="
+   ${RDEPEND}
+   >=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/urllib3[${PYTHON_USEDEP}]
+"
+
+python_test() {
+   # Skip tests. Wants: internet access
+   sed -i -e 's:test_basic_conversion_from_http_url:_&:' tests.py || die
+   # Skip tests. Wants: nonexistent font
+   sed -i -e 's:test_pdf_conversion:_&:' tests.py || die
+
+   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}