Skip to content

Commit

Permalink
dev-python/m2crypto: remove libressl support
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <[email protected]>
  • Loading branch information
Zlogene committed May 2, 2021
1 parent b247318 commit 42ae557
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
8 changes: 1 addition & 7 deletions dev-python/m2crypto/m2crypto-0.35.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="libressl"

RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
dev-libs/openssl:0=
$(python_gen_cond_dep '
dev-python/typing[${PYTHON_USEDEP}]
' -2)
Expand All @@ -33,10 +31,6 @@ BDEPEND="

S="${WORKDIR}/${MY_PN}-${PV}"

PATCHES=(
"${FILESDIR}/${PN}-libressl-0.31.0.patch"
)

swig_define() {
local x
for x; do
Expand Down
8 changes: 1 addition & 7 deletions dev-python/m2crypto/m2crypto-0.36.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="libressl"

RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
dev-libs/openssl:0=
$(python_gen_cond_dep '
dev-python/typing[${PYTHON_USEDEP}]
' -2)
Expand All @@ -33,10 +31,6 @@ BDEPEND="

S="${WORKDIR}/${MY_PN}-${PV}"

PATCHES=(
"${FILESDIR}/${PN}-libressl-0.31.0.patch"
)

swig_define() {
local x
for x; do
Expand Down
5 changes: 2 additions & 3 deletions dev-python/m2crypto/m2crypto-0.37.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="libressl test"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
>=dev-lang/swig-2.0.9
test? ( dev-python/parameterized[${PYTHON_USEDEP}] )
"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
dev-libs/openssl:0=
"
DEPEND="${RDEPEND}"

Expand Down
9 changes: 2 additions & 7 deletions dev-python/m2crypto/m2crypto-0.37.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,18 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="libressl test"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
>=dev-lang/swig-2.0.9
test? ( dev-python/parameterized[${PYTHON_USEDEP}] )
"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
dev-libs/openssl:0=
"
DEPEND="${RDEPEND}"

PATCHES=(
"${FILESDIR}/${PN}-libressl-0.31.0.patch"
)

swig_define() {
local x
for x; do
Expand Down

0 comments on commit 42ae557

Please sign in to comment.