summaryrefslogtreecommitdiff
path: root/dev-python/pychm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-08 15:24:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-08 15:24:16 +0000
commit867ef65cd897014478ed65034b1ac3f139289a77 (patch)
tree3af9d9e893bca02bb644786f42dfaf2678d6908d /dev-python/pychm
parentf077c725ef746943ec7902350b30ff569f5995ba (diff)
gentoo auto-resync : 08:11:2022 - 15:24:16
Diffstat (limited to 'dev-python/pychm')
-rw-r--r--dev-python/pychm/Manifest1
-rw-r--r--dev-python/pychm/pychm-0.8.6-r1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pychm/Manifest b/dev-python/pychm/Manifest
index d3c6a1859cfb..6a329b259bed 100644
--- a/dev-python/pychm/Manifest
+++ b/dev-python/pychm/Manifest
@@ -1,3 +1,4 @@
DIST pychm-0.8.6.gh.tar.gz 23803 BLAKE2B fdf3c37eead60455fd5bde1638a010f2788074752f98c32cf4b3431b4a87b8893c23a9fa29995352b35b41f628b7026fdbfa6ff20b75e8a6efdf75fc2da3f67d SHA512 cc1b254b6c58aba038171ad9db1eea3212094d7fb9386b22ada67381d702b388e6a1dde0317b5724587ee135d2695c546a7c2d65af7091dafeb394647597b0ae
+EBUILD pychm-0.8.6-r1.ebuild 709 BLAKE2B 761a8fe248c17ad4d8b9ee2ee8defa26afddf4aede954e860115be35ec5f158cf61b6a0e293dee858633ec7e5d9d4df9ed9e074c9cd38e0620d83bc02e2da343 SHA512 e01981cf692065ca25565729d9d9f596c6211fa9a2e15f6f4cceb215beb770aff285224c8e7fa81935eb74313d569253dd3d1e2dbe8c3c798a02a55c0c8d1f6d
EBUILD pychm-0.8.6.ebuild 676 BLAKE2B ca2ca75cc0e3a191967871b0ed9e72763ab15b3bf67e2afd07bcb524c7b1a9e3b52f98ec5705b01390f9182f3c6550d7a685c7c7bc70ae908851172262c75d79 SHA512 7ef6d0f97dd9e7d201e9a2bff4d2e0808f129defac4fce5c92644aa9a94039d25f3e5926bcce6f8b87f68a928faafee5f407a58891870cd22b08cd7b9aeb87ff
MISC metadata.xml 1027 BLAKE2B 73a6036574ad781ec55e34ebbf6627e5f27e3156eb6bf4b016153c47621df4117338469895719fb94602d509dbdcc49f54436a8779db3249d9f4b25d17d52929 SHA512 836e64e5e3ab7786697e2afe9325a171a94aad3a81190008d7bfb6eefce5ca0a533554071ccc2c88eb05cef922e1054aa40df725877808c66c1783817f03c660
diff --git a/dev-python/pychm/pychm-0.8.6-r1.ebuild b/dev-python/pychm/pychm-0.8.6-r1.ebuild
new file mode 100644
index 000000000000..2f078383366b
--- /dev/null
+++ b/dev-python/pychm/pychm-0.8.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the chmlib library"
+HOMEPAGE="https://github.com/dottedmag/pychm"
+SRC_URI="https://github.com/dottedmag/pychm/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+RDEPEND="dev-libs/chmlib"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+src_test() {
+ # need to avoid relative import of 'chm' directory but tests rely
+ # on locating files relatively via tests/...
+ mv tests .. || die
+ cd .. || die
+ distutils-r1_src_test
+}