Skip to content

Commit

Permalink
dev-python/fpylll: add 0.6.0, drop 0.5.9-r1
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwifb committed Oct 19, 2023
1 parent 35b995e commit 8c39339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions dev-python/fpylll/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST fpylll-0.5.9.tar.gz 1083488 BLAKE2B 9797474b186bf223efd866cadb87f22a546bd2440e4cbd7c35c8f6fa6bfa4c4dbcdc817577a83571c41e6d6a355c4270ab39c6f9ed0c0ff85ebc6a270a87a063 SHA512 e5df1ebc1e1d7e9ce48ad15399f06e2713b263679bc5755fcc27ab6174d2e209d21077252227de5a34ebddb214488d318c8d489f1e942996785f5648709a06f6
DIST fpylll-0.6.0.tar.gz 1084736 BLAKE2B de4fc2ef762a1dc931e728cae4857da34828fb929eec0cf05c076bce5b3f7475492871d016d94f9cac4515a04a7f652440511f4ba8f1b724c351a403d5375ea0 SHA512 e21ed21362cb9256dbc828f4d628602cd8b5c1a8640116f1c137e85056cedc89a73cab58c28ea12212ee92f4ed36b99796c5dbd30c55159baf9b33770b1a9aab
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@

EAPI=8

PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1

inherit distutils-r1 pypi

DESCRIPTION="A Python (2 and 3) wrapper for fplll."
Expand All @@ -23,22 +21,14 @@ CDEPEND=">=sci-libs/fplll-5.4.4
DEPEND="${CDEPEND}
test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )"
RDEPEND="${CDEPEND}"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
BDEPEND=">dev-python/cython-3.0.0[${PYTHON_USEDEP}]"

PATCHES=(
"${FILESDIR}"/0001-Do-not-set-library-path.patch
)

distutils_enable_tests pytest

src_prepare() {
if has_version ">=dev-python/cython-3.0.0"; then
PATCHES+=( "${FILESDIR}"/cython-3.patch )
fi

distutils-r1_python_prepare_all
}

src_test() {
PY_IGNORE_IMPORTMISMATCH=1 distutils-r1_src_test
}

0 comments on commit 8c39339

Please sign in to comment.