diff options
author | 2017-08-21 21:31:19 -0400 | |
---|---|---|
committer | 2017-08-21 21:31:19 -0400 | |
commit | 2134b6c7aed5739a3ae2a2ee6c8a168aaa510d0f (patch) | |
tree | 1fd339a1830f3b0269bb20bdf0cbc7efb9bba663 /dev-python | |
parent | use PREFIX not prefix (diff) | |
download | superposition-2134b6c7aed5739a3ae2a2ee6c8a168aaa510d0f.tar.gz superposition-2134b6c7aed5739a3ae2a2ee6c8a168aaa510d0f.tar.bz2 superposition-2134b6c7aed5739a3ae2a2ee6c8a168aaa510d0f.zip |
doesnt use distutils build system
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/freecode-submit/Manifest | 2 | ||||
-rw-r--r-- | dev-python/freecode-submit/freecode-submit-2.9.ebuild | 15 |
2 files changed, 9 insertions, 8 deletions
diff --git a/dev-python/freecode-submit/Manifest b/dev-python/freecode-submit/Manifest index df5b0ab..6828c78 100644 --- a/dev-python/freecode-submit/Manifest +++ b/dev-python/freecode-submit/Manifest @@ -1,3 +1,3 @@ DIST freecode-submit-2.9.tar.gz 18612 SHA256 9a07a62fc82105b9ac856946831df3083c951978fd3aee6fc161595148c25d49 SHA512 932d38bc018a3987df0daecb8cd5fbc23b8d91d349d70e457f38f80d8628e6b14cfdae93f5918e885fe35e0daf7ef55abd43a2023a8640abd0143042fbe4611b WHIRLPOOL 9bda9f369b4e73c19aaf21e5c7dee9014755e1eff2229e475b9f6bbc3ba1cb1dca716e060edd93229d52fa1bbd7ff9e5510e19c6eb84501afce7742a24e9d9f9 -EBUILD freecode-submit-2.9.ebuild 759 SHA256 bd5c1331cb7430b510671bc062f2a12b96497124ede6dd4b82c77628706e829e SHA512 acb94fd619a99a892911a0b92a262614771188f9ea37e0a23a612c2cb638064a6a34a372fc8d9598133e6cad247bbfc5cb1c0e6cbafa0e8b7ba861f040bb8d8c WHIRLPOOL 04ebab4ecb8d5df9041c454af452e1227b8aec32f31c33622e89479c060cd9b6dc0dc6efae9bde998fb13d0909ceeab02ec2bef04f4142313c3b56a502d35938 +EBUILD freecode-submit-2.9.ebuild 750 SHA256 3543e51124e50d7b77dd8de5bc2c84756ffa2c4f0e19804c6f60aeed3d9893b6 SHA512 8b43a411b838262ec11d5c6b740e93e68d7db5b44ad067c0ea87ff324f8b12c587f52403184d525cdd8a04c5985e4e585507e82759159a0f75b69e46ab6d6a32 WHIRLPOOL ea18ada03c07bf035bc11e60bf8f69fcb4e0fe8ca159ffbcc5abac7e84c81450cf20ad05f947fc347c4a3ba6a1d028e5684ba35588869ca4da1b00919543f307 MISC metadata.xml 715 SHA256 d1160f48274cade505c09173bc35efa57edf7e66ae673c9b5faca1f7a2c45bd1 SHA512 eef55fce9ecb88e0f7830d5329f24932541e2a818e89ca53d73e18889acd5d7326acc035789e76ccc4fdc4d230f40431426e22670f062360de0fa5df8d8efd8c WHIRLPOOL a26fe4341ec80077a116540b2c30bc50abfcaf68e2e357cc26030ebb0993897e924cf9623d7df0246a892eb13d1e2ce09b1b45220b8c6ec794c0b4f077034c2a diff --git a/dev-python/freecode-submit/freecode-submit-2.9.ebuild b/dev-python/freecode-submit/freecode-submit-2.9.ebuild index ec86465..d0c218e 100644 --- a/dev-python/freecode-submit/freecode-submit-2.9.ebuild +++ b/dev-python/freecode-submit/freecode-submit-2.9.ebuild @@ -5,9 +5,8 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="ssl(+)" -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 +inherit python-single-r1 DESCRIPTION="Client for Freshcode and Freecode-like sites." HOMEPAGE="http://www.catb.org/~esr/freecode-submit/" @@ -21,18 +20,20 @@ IUSE="" DEPEND="${PYTHON_DEPS}" RDEPEND="${DEPEND}" -python_prepare_all() { +src_prepare() { sed -i 's:PREFIX=:PREFIX?=:' Makefile || die 'Prefix fix sed failed.' - distutils-r1_python_prepare_all } -python_compile() { +src_compile() { emake all } -python_install() { +src_install() { python_fix_shebang freecode-submit + dodir '${D}usr' + into '${D}usr' + dobin '${WORKDIR}/freecode-submit' - emake PREFIX="${D}" install + python_optimize einstalldocs } |