aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/googletransx')
-rw-r--r--dev-python/googletransx/Manifest1
-rw-r--r--dev-python/googletransx/googletransx-2.4.2-r2.ebuild18
-rw-r--r--dev-python/googletransx/metadata.xml43
3 files changed, 0 insertions, 62 deletions
diff --git a/dev-python/googletransx/Manifest b/dev-python/googletransx/Manifest
deleted file mode 100644
index 6934d91ab..000000000
--- a/dev-python/googletransx/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST googletransx-2.4.2.tar.gz 13967 BLAKE2B 4ba5d043f428e48c4a1e7fd5932b346149fa7a5f14f5e97f79aa52de8be22658697aaf112eea931793ae006aa0e23a4771e538067a0f6d2e75fdeff71df221e3 SHA512 d68d3ae0bf250464438831e97c5ab87484100302ccb92da929218fe42d00c572770c4083919916b537f40b2ea5b33197fb2c69197cc541da28977027be86ceb5
diff --git a/dev-python/googletransx/googletransx-2.4.2-r2.ebuild b/dev-python/googletransx/googletransx-2.4.2-r2.ebuild
deleted file mode 100644
index 4e46f5312..000000000
--- a/dev-python/googletransx/googletransx-2.4.2-r2.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
-HOMEPAGE="https://pypi.org/project/googletransx/"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
diff --git a/dev-python/googletransx/metadata.xml b/dev-python/googletransx/metadata.xml
deleted file mode 100644
index c827cde93..000000000
--- a/dev-python/googletransx/metadata.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>lssndrbarbieri@gmail.com</email>
- <name>Alessandro Barbieri</name>
- </maintainer>
- <longdescription lang="en">
-Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.
-
-Compatible with Python 2.7+ and 3.4+. (Note: Python 2 support will be dropped in the next major release.)
-
-For details refer to the API Documentation.
-Features
-
- Fast and reliable - it uses the same servers that translate.google.com uses
- Auto language detection
- Bulk translations
- Customizable service URL
- Connection pooling (the advantage of using requests.Session)
- HTTP/2 support
-
-TODO
-
-more features are coming soon.
-
- Proxy support
- Internal session management (for better bulk translations)
-
-HTTP/2 support
-
-This is a great deal for everyone! (up to 2x times faster in my test) If you want to get googletrans faster you should install hyper package. Googletrans will automatically detect if hyper is installed and if so, it will be used for http networking.
-How does this library work
-
-You may wonder why this library works properly, whereas other approaches such like goslate won’t work since Google has updated its translation service recently with a ticket mechanism to prevent a lot of crawler programs.
-
-I eventually figure out a way to generate a ticket by reverse engineering on the obfuscated and minified code used by Google to generate such token, and implemented on the top of Python. However, this could be blocked at any time.
- </longdescription>
- <upstream>
- <remote-id type="pypi">googletransx</remote-id>
- <remote-id type="github">x0rkov/py-googletrans</remote-id>
- </upstream>
-</pkgmetadata>