mirror of
https://github.com/Snigdha-OS/snigdhaos-blackbox.git
synced 2025-12-06 13:33:50 +01:00
19 lines
537 B
Python
19 lines
537 B
Python
# This class is to encapsulate package metadata, taken from the yaml files stored inside the blackbox github repository
|
|
|
|
|
|
class Package(object):
|
|
def __init__(
|
|
self,
|
|
name,
|
|
description,
|
|
category,
|
|
subcategory,
|
|
subcategory_description,
|
|
version,
|
|
):
|
|
self.name = name
|
|
self.description = description
|
|
self.category = category
|
|
self.subcategory = subcategory
|
|
self.subcategory_description = subcategory_description
|
|
self.version = version |