Skip to content

Commit

Permalink
oscrypto: wbond/oscrypto#78
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Jan 7, 2024
1 parent 537ae0c commit 1ea4ad6
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 24 deletions.
2 changes: 1 addition & 1 deletion dev-python/oscrypto/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST oscrypto-1.2.1.tar.gz 180998 BLAKE2B ac440c75c36958b7779bd8dc030b135be190dd0e6adc3e7f7138336a3e6a59f45ff13596786a27c59589dfd262df6a06d287947a936045836d53f27fa4bcca2f SHA512 5c2229bafe8ba3666a557b592d4ca640318c7775bd201966e3ba3afb4e15fc4960143fd39409843c0ce455b40299d98cc4f4460636bf7ae51015be4f8f525a22
DIST oscrypto-1.3.0.tar.gz 184590 BLAKE2B e54fded25e6e3c14ff0048175725ab567a2b19807ec41bce950c37be5ba50515caa6ac79a18f1857cfe227f4013ceab9f1393ac92fa4d4f45dcc1ec69fc16320 SHA512 da88fa7ad7530909e7face20b122d54fa9e7cea497c6727f655c9c5605496d57add4c21b63dbdfe0692e4ab7e0ba25647b14c2f611098f3227c98666eeca27f0
DIST oscrypto-1.3.0_p20230823.gh.tar.gz 318358 BLAKE2B 42f1e80c10833ab23649ae5af9f25a99a10b90aa13263d180ece505c97bb282be622df5b3154eafa98ae78732cde0d097bc3564952d46ee9a852173ab5398c10 SHA512 9a554ea47d79f0341aed2d442208d403ad675c756dcb421334ec068594eaad06a70b700c796ec72435b007f283b14d01a70859f0a5f00d8e75477d6a0c6a1128
4 changes: 4 additions & 0 deletions dev-python/oscrypto/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
<email>[email protected]</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">wbond/oscrypto</remote-id>
<remote-id type="pypi">oscrypto</remote-id>
</upstream>
</pkgmetadata>
20 changes: 0 additions & 20 deletions dev-python/oscrypto/oscrypto-1.2.1.ebuild

This file was deleted.

6 changes: 3 additions & 3 deletions dev-python/oscrypto/oscrypto-1.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 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
inherit distutils-r1 pypi

DESCRIPTION="TLS sockets, key generation, encryption, decryption, signing, verification"
HOMEPAGE="https://github.com/wbond/oscrypto"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
Expand Down
29 changes: 29 additions & 0 deletions dev-python/oscrypto/oscrypto-1.3.0_p20230823.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 1999-2024 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

# fix https://github.com/wbond/oscrypto/issues/78
HASH_COMMIT="1547f535001ba568b239b8797465536759c742a3"

DESCRIPTION="TLS sockets, key generation, encryption, decryption, signing, verification"
HOMEPAGE="https://github.com/wbond/oscrypto"
SRC_URI="https://github.com/wbond/oscrypto/archive/${HASH_COMMIT}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"

#not tested
RESTRICT="test"

RDEPEND=" >=dev-python/asn1crypto-1.5.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

S="${WORKDIR}/${PN}-${HASH_COMMIT}"

0 comments on commit 1ea4ad6

Please sign in to comment.