diff --git a/app-misc/gplaycli/Manifest b/app-misc/gplaycli/Manifest index 2298ea982..c90c7c985 100644 --- a/app-misc/gplaycli/Manifest +++ b/app-misc/gplaycli/Manifest @@ -1,2 +1,3 @@ DIST gplaycli-3.26.tar.gz 2990849 BLAKE2B 1616e51676cee8931157de39b0d53cdf18d99e4d4fd61f5ff4e246735516ceffb6daf54575c2c59ad721a8bc4284ba87fdc8d8e4be43d8ea52922151ced3ea04 SHA512 6b2ff2f42515c4585f5041352a0328b4b704cb055091cb9635f0330cba92d91a2dea370592e38e368ae838d272e295e343be71bce977daa8c2b932b3c486454f DIST gplaycli-3.27.tar.gz 2990234 BLAKE2B 2d53fb9e102a37e7f5bea4e8c3040fbf5fe652b5eed7250e68e46de396ccc01710cc09c8769322235cfcc493cf26a1a7ec904ed28aae364704910ce37a0b59c2 SHA512 44c68f4c9109a0e9144821d1df12659468bbfe59a3ea0ddba06bd82ecefa3fcdd231a54f40fef56d896c959dc850d3ac6b15eb950343e5c2a88f10ce2caf9f1c +DIST gplaycli-3.29.tar.gz 2990970 BLAKE2B 320613c0a8885193613fdcd528564dc12afcb06e7482879a7ca4f0ed339f956bbaab0b8057b2db1218b1b4773fec365129de2df3f2f205ed6d5598391bc2af10 SHA512 6bb6495273ad59a2d15fe8fff7b073a9138a23c48096a4bfe38b100a6efc0a29aeb4599e90343cb9389411cce88923499ccfb5cfb6876875d1b64d04171c51db diff --git a/app-misc/gplaycli/files/3.29-confpath.patch b/app-misc/gplaycli/files/3.29-confpath.patch new file mode 100644 index 000000000..177890e15 --- /dev/null +++ b/app-misc/gplaycli/files/3.29-confpath.patch @@ -0,0 +1,24 @@ +diff -urN gplaycli-3.29.orig/gplaycli/gplaycli.py gplaycli-3.29/gplaycli/gplaycli.py +--- gplaycli-3.29.orig/gplaycli/gplaycli.py 2020-03-07 20:40:52.000000000 +0800 ++++ gplaycli-3.29/gplaycli/gplaycli.py 2020-03-22 08:53:03.986839904 +0800 +@@ -82,7 +82,7 @@ + os.getcwd(), + os.path.join(site.USER_BASE, 'etc', 'gplaycli'), + os.path.join(sys.prefix, 'local', 'etc', 'gplaycli'), +- os.path.join('/etc', 'gplaycli') ++ os.path.join(sys.prefix, 'share', 'gplaycli') + ] + for filepath in cred_paths_list: + if os.path.isfile(os.path.join(filepath, 'gplaycli.conf')): +diff -urN gplaycli-3.29.orig/setup.py gplaycli-3.29/setup.py +--- gplaycli-3.29.orig/setup.py 2020-03-07 20:40:52.000000000 +0800 ++++ gplaycli-3.29/setup.py 2020-03-22 08:50:39.980831768 +0800 +@@ -26,7 +26,7 @@ + 'gplaycli': 'gplaycli', + }, + data_files=[ +- ['etc/gplaycli', ['gplaycli.conf']], ++ ['share/gplaycli', ['gplaycli.conf']], + ], + install_requires=[ + 'matlink-gpapi>=0.4.4.4', diff --git a/app-misc/gplaycli/gplaycli-3.29.ebuild b/app-misc/gplaycli/gplaycli-3.29.ebuild new file mode 100644 index 000000000..4723ca1fb --- /dev/null +++ b/app-misc/gplaycli/gplaycli-3.29.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Google Play Downloader via Command line" +HOMEPAGE="https://github.com/matlink/gplaycli" +SRC_URI="https://github.com/matlink/gplaycli/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +#https://github.com/NoMore201/googleplay-api/issues/120 +#KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/gpapi-0.4.4[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/pyaxmlparser[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}/3.29-confpath.patch" ) diff --git a/dev-python/gpapi/Manifest b/dev-python/gpapi/Manifest index 0ea0b74a0..a99d32792 100644 --- a/dev-python/gpapi/Manifest +++ b/dev-python/gpapi/Manifest @@ -1 +1,2 @@ DIST gpapi-0.4.4.tar.gz 91734 BLAKE2B 1e968a80d1b28a76b9c56819e418e672d2e43ba7073cfb78f5c3c883a50b8589bc28a0d3f371b9ca04c4f46a46b0092d6ea6447e32d42291a7c3ca26b6731636 SHA512 502b71af3fd5afa99bb58a310c1f4ceff9e80b04c3d790a58144d6aa2fafd293e6209364f7aae28d85ecdbd21ff2fed23beae6e64f2b434c0d5a05c3a5fd108c +DIST matlink-gpapi-0.4.4.4.tar.gz 48608 BLAKE2B 6a740a25e6d01f8c39916bfeaf72fe6394acd383632b58f360a28894ed23f5459688c2d19fa1b4fe97aa182533bf901eac213fc43be9ce44facad4a6c7beea02 SHA512 17e4f25b410f104feb008d97675c57a031df9a67ea62f458d92fe292128347ec79a67684ebd29e32f4746fe02d7b43698c3c96b38724a6c47a2a00a73fb3ee37 diff --git a/dev-python/gpapi/gpapi-0.4.4.4.ebuild b/dev-python/gpapi/gpapi-0.4.4.4.ebuild new file mode 100644 index 000000000..79adc3e3a --- /dev/null +++ b/dev-python/gpapi/gpapi-0.4.4.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="Unofficial python api for google play" +HOMEPAGE="https://github.com/NoMore201/googleplay-api" +SRC_URI="mirror://pypi/matlink-${PN:0:1}/matlink-${PN}/matlink-${PN}-${PV}.tar.gz" + +LICENSE="MIT" +#KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.5.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/matlink-${PN}-${PV}" diff --git a/dev-python/matlink-gpapi/Manifest b/dev-python/matlink-gpapi/Manifest new file mode 100644 index 000000000..925670261 --- /dev/null +++ b/dev-python/matlink-gpapi/Manifest @@ -0,0 +1 @@ +DIST matlink-gpapi-0.4.4.4.tar.gz 48608 BLAKE2B 6a740a25e6d01f8c39916bfeaf72fe6394acd383632b58f360a28894ed23f5459688c2d19fa1b4fe97aa182533bf901eac213fc43be9ce44facad4a6c7beea02 SHA512 17e4f25b410f104feb008d97675c57a031df9a67ea62f458d92fe292128347ec79a67684ebd29e32f4746fe02d7b43698c3c96b38724a6c47a2a00a73fb3ee37 diff --git a/dev-python/matlink-gpapi/matlink-gpapi-0.4.4.4.ebuild b/dev-python/matlink-gpapi/matlink-gpapi-0.4.4.4.ebuild new file mode 100644 index 000000000..6a6da477a --- /dev/null +++ b/dev-python/matlink-gpapi/matlink-gpapi-0.4.4.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="Unofficial python api for google play" +HOMEPAGE="https://github.com/NoMore201/googleplay-api" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.5.2[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/pyaxmlparser/pyaxmlparser-0.3.24.ebuild b/dev-python/pyaxmlparser/pyaxmlparser-0.3.24.ebuild index 4b1b153c3..cde46a30a 100644 --- a/dev-python/pyaxmlparser/pyaxmlparser-0.3.24.ebuild +++ b/dev-python/pyaxmlparser/pyaxmlparser-0.3.24.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{4,5,6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 DESCRIPTION="Parser for Android XML file and get Application Name without using Androguard" @@ -15,8 +15,8 @@ KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="" -RDEPEND=">=dev-python/lxml-3.7.3 - >=dev-python/click-6.7 +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/click-6.7[${PYTHON_USEDEP}] " DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index 81c148ccd..25dc67669 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -219,8 +219,8 @@ dev-python/pyDes ~dev-python/args-0.1.0 =dev-python/pyaxmlparser-0.3* =dev-python/click-6.7* - -~dev-python/gpapi-0.4.4 +dev-python/gpapi +dev-python/matlink-gpapi #Tiredful-API ~dev-python/django-filter-0.15.3