This commit is contained in:
saltedcoffii
2021-05-09 12:58:50 -04:00
parent f831cde6f7
commit 2faf94cc17
8 changed files with 191 additions and 0 deletions

26
packages/py3_flask.rb Normal file
View File

@@ -0,0 +1,26 @@
require 'package'
class Py3_flask < Package
description 'Flask is a simple framework for building complex web applications.'
homepage 'https://palletsprojects.com/p/flask/'
@_ver = '1.1.2'
version @_ver
license 'BSD-3'
compatibility 'all'
source_url 'https://github.com/pallets/flask.git'
git_hashtag @_ver
depends_on 'py3_werkzeug'
depends_on 'py3_itsdangerous'
depends_on 'py3_click'
depends_on 'py3_jinja2'
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

29
packages/py3_impacket.rb Normal file
View File

@@ -0,0 +1,29 @@
require 'package'
class Py3_impacket < Package
description 'Impacket provides network protocols constructors and dissectors.'
homepage 'https://www.secureauth.com/labs/open-source-tools/impacket/'
@_ver = '0.9.22'
version @_ver
license 'Apache-2.0-with-impacket-modifications'
compatibility 'all'
source_url 'https://github.com/SecureAuthCorp/impacket.git'
git_hashtag 'impacket_' + @_ver.gsub('.', '_')
depends_on 'py3_pycryptodomex'
depends_on 'py3_flask'
depends_on 'py3_pyasn1'
depends_on 'py3_pyopenssl'
depends_on 'py3_six'
depends_on 'py3_ldap3'
depends_on 'py3_ldapdomaindump'
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

View File

@@ -0,0 +1,22 @@
require 'package'
class Py3_itsdangerous < Package
description 'ItsDangerous provide various helpers to pass data to untrusted environments and back.'
homepage 'https://palletsprojects.com/p/itsdangerous/'
@_ver = '1.1.0'
version @_ver
license 'BSD-3'
compatibility 'all'
source_url 'https://github.com/pallets/itsdangerous.git'
git_hashtag @_ver
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

23
packages/py3_ldap3.rb Normal file
View File

@@ -0,0 +1,23 @@
require 'package'
class Py3_ldap3 < Package
description 'LDAP3 is a strictly RFC 4510 conforming LDAP V3 pure Python client library.'
homepage 'https://github.com/cannatag/ldap3/'
@_ver = '2.9'
version @_ver
license 'LGPL-3'
compatibility 'all'
source_url 'https://github.com/cannatag/ldap3.git'
git_hashtag 'v' + @_ver
depends_on 'py3_pyasn1'
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

View File

@@ -0,0 +1,25 @@
require 'package'
class Py3_ldapdomaindump < Package
description 'LDAPDomainDump uses LDAP to dump active directory information.'
homepage 'https://github.com/dirkjanm/ldapdomaindump/'
@_ver = '0.9.3'
version @_ver
license 'LGPL-3'
compatibility 'all'
source_url 'https://github.com/dirkjanm/ldapdomaindump.git'
git_hashtag 'v' + @_ver
depends_on 'py3_future'
depends_on 'py3_dnspython'
depends_on 'py3_ldap3'
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

22
packages/py3_pyasn1.rb Normal file
View File

@@ -0,0 +1,22 @@
require 'package'
class Py3_pyasn1 < Package
description 'PyASN.1 is a generic ASN.1 library for Python'
homepage 'https://github.com/etingof/pyasn1/'
@_ver = '0.4.8'
version @_ver
license 'BSD-2'
compatibility 'all'
source_url 'https://github.com/etingof/pyasn1.git'
git_hashtag 'v' + @_ver
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

View File

@@ -0,0 +1,22 @@
require 'package'
class Py3_pycryptodomex < Package
description 'Pycryptodomex is a cryptographic library for Python.'
homepage 'https://www.pycryptodome.org/'
@_ver = '3.10.1'
version @_ver
license 'BSD and public-domain'
compatibility 'all'
source_url 'https://github.com/Legrandin/pycryptodome.git'
git_hashtag 'v' + @_ver
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end

22
packages/py3_werkzeug.rb Normal file
View File

@@ -0,0 +1,22 @@
require 'package'
class Py3_werkzeug < Package
description 'Werkzeug is a comprehensive WSGI web application library.'
homepage 'https://palletsprojects.com/p/werkzeug/'
@_ver = '1.0.1'
version @_ver
license 'BSD-3'
compatibility 'all'
source_url 'https://github.com/pallets/werkzeug.git'
git_hashtag @_ver
depends_on 'py3_setuptools' => :build
def self.build
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
end
def self.install
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
end
end