Skip to content

Commit

Permalink
Merge pull request #5 from atsign-foundation/cpswan-sshnpdpy
Browse files Browse the repository at this point in the history
feat: Add sshnpdpy Makefile
  • Loading branch information
cpswan authored Oct 16, 2023
2 parents 3389100 + 17906b4 commit 582b1d6
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/lang/python/python-atpython/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/atsign-foundation/at_python
PKG_SOURCE_VERSION:=20886b28cbf7ea2498988d4bcfdc84a4b51e458e
PKG_SOURCE_VERSION:=4da03279fa174a1fa2ab59b3d6e4aeb2b4f8d978

PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
Expand All @@ -29,15 +29,14 @@ define Package/python3-atpython
TITLE:=Python SDK for the atPlatform
URL:=https://github.com/atsign-foundation/at_python
DEPENDS:=\
+python3-pip \
+python3-bcrypt \
+python3-cffi \
+python3-cryptography \
+python3-dateutil \
+python3-pycparser \
+python3-pytest \
+python3-requests \
+python3-six
+python3-light \
+python3-cffi \
+python3-cryptography \
+python3-dateutil \
+python3-pycparser \
+python3-pytest \
+python3-requests \
+python3-six
endef

define Package/python3-atpython/description
Expand All @@ -46,3 +45,4 @@ endef

$(eval $(call Py3Package,python3-atpython))
$(eval $(call BuildPackage,python3-atpython))
$(eval $(call BuildPackage,python3-atpython-src))
50 changes: 50 additions & 0 deletions packages/lang/python/python-sshnpdpy/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=sshnpdpy
PKG_VERSION:=0.3.0
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/atsign-foundation/sshnoports
PKG_SOURCE_VERSION:=074699a29e31688dcba8b79fd55433e25c68355e

PKG_BUILD_DEPENDS:=python-poetry-core/host

PYTHON3_PKG_SETUP_DIR=packages/sshnpdpy

PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Chris Swan <@cpswan>

include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk

define Package/python3-sshnpdpy
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Python SDK for the atPlatform
URL:=https://github.com/atsign-foundation/at_python
DEPENDS:=\
+python3-light \
+python3-atpython \
+python3-bcrypt \
+python3-cffi \
+python3-cryptography \
+python3-paramiko \
+python3-pycparser \
+python3-pynacl
endef

define Package/python3-sshnpdpy/description
Atsign SSH No Ports daemon in Python
endef

$(eval $(call Py3Package,python3-sshnpdpy))
$(eval $(call BuildPackage,python3-sshnpdpy))
$(eval $(call BuildPackage,python3-sshnpdpy-src))

0 comments on commit 582b1d6

Please sign in to comment.