app-text/lorem-ipsum-generator: Fixes and switch to EAPI=7
authorStefan Huber <shuber@sthu.org>
Thu, 14 May 2020 12:27:27 +0000 (14:27 +0200)
committerStefan Huber <shuber@sthu.org>
Thu, 14 May 2020 12:27:27 +0000 (14:27 +0200)
app-text/lorem-ipsum-generator/Manifest
app-text/lorem-ipsum-generator/lorem-ipsum-generator-0.3.ebuild
app-text/lorem-ipsum-generator/metadata.xml [new file with mode: 0644]

index e54bc02..b428ab2 100644 (file)
@@ -1,2 +1,3 @@
-DIST lorem-ipsum-generator-0.3.tar.gz 19408 SHA256 15839e29fdc7aa0d504a3c965ef9824050cd929fb92e3845247a6940411c8c41
-EBUILD lorem-ipsum-generator-0.3.ebuild 645 SHA256 f96ab6da10ec0c7d8dd1a61c5bd4335499eceb42883bfddef4c10ef2724d8977 SHA512 d39ccca22196f03ca2dbe56faddebdb7c4a07808881cdbe2be73ea4bce49a9d94c9006bfd976a90a086171c1d2b8be053b709c8154c3a281a4edfdb04f5926b4 WHIRLPOOL 8d2ed913129e24ade331539bee166f3c8cff101274d69d8c53f9f51cad22c3f1f0ba4412b5104773944bba0e245cf0c0cb8d18b905edee2a4994e5138161a71b
+DIST lorem-ipsum-generator-0.3.tar.gz 19408 BLAKE2B 5e280f4aafa6b08b57fb25b007ea373f33fbf669238a030189f8faebd3c9a6a6f186460d56bebcd5ddb6ec01ef4d2298c7e4881588855ac5fba64f5d2269a1ab SHA512 d55f72cc21e092bd8586e6fe8e3d856d425ff7439874c54351a22145d64b2063958cc0411f89ba3ab8933ff0833f39b28262fe3a663f7a458622cf2452a67b9c
+EBUILD lorem-ipsum-generator-0.3.ebuild 523 BLAKE2B 45edcdd792a1fb141fe9355b7376b85b74bbfd9558c7899d3f25d3558095c51eb709e92b7047676b2f46784750e88173f7fc0a508889c0130385157ac84d9e9a SHA512 951078d0be4644d5ed8d37c5a401470ba057598456853c0da234d0fdffff245804bcbb3c06ecda8bdb5b67f13f5dfa7061bec16f8183cb102fbffceb0b6a649b
+MISC metadata.xml 340 BLAKE2B 191aa560bf58e289a7858c29fa689a5d9f4a91dc3123498fc4f664a842ebf472c22b5025da446d53a26ce4904b98999f163598a0ac95423015ea3cdaf2eccdab SHA512 063431ee640bb219156bda750e02e90e4d15d2c7728f234733ad0335588b01f1a19e35f05a0f4480602929f8982e264dfcb385bf3ca97f442d9e65cc75b254a2
index 16bdd33..80efa63 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI=5
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
 
 DESCRIPTION="A lorem ipsum generator with a gtk+ interface"
 HOMEPAGE="http://code.google.com/p/lorem-ipsum-generator/"
@@ -15,19 +17,6 @@ RESTRICT="mirror"
 IUSE=""
 
 DEPEND="
-       >=dev-lang/python-2.5
-       >=dev-python/pygtk-2.12.0
-       x11-libs/gtk+"
+       ${PYTHON_DEPS}
+       dev-python/pygtk"
 RDEPEND="${DEPEND}"
-
-
-
-src_compile() {
-       /usr/bin/python setup.py build
-}
-
-src_install() {
-       /usr/bin/python setup.py install --root "$D"
-}
-
-
diff --git a/app-text/lorem-ipsum-generator/metadata.xml b/app-text/lorem-ipsum-generator/metadata.xml
new file mode 100644 (file)
index 0000000..492aa7d
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>shuber@sthu.org</email>
+               <name>Stefan Huber</name>
+       </maintainer>
+       <longdescription lang="en">
+               A lorem ipsum generator with a gtk+ interface
+       </longdescription>
+</pkgmetadata>