def METHOD_NAME(self, package_name):
    package_paths = self.context_model.packages_path
    self.packages = {}
    self.clear()
    rows = []
    busy_cursor = QtGui.QCursor(QtCore.Qt.WaitCursor)
    QtWidgets.QApplication.setOverrideCursor(busy_cursor)
    try:
        packages = list(iter_packages(name=str(package_name),
                        paths=package_paths))
    except RezError:
        packages = []
    if not packages:
        self.setEnabled(False)
        self.package_name = None
        QtWidgets.QApplication.restoreOverrideCursor()
        return
    for i, package in enumerate(sorted(packages, key=lambda x: x.version,
                                       reverse=True)):
        version_str = str(package.version) + ' '
        path_str = package.uri + "  "
        release_str = get_timestamp_str(package.timestamp) \
            if package.timestamp else '-'
        enabled = self.callback(package) if self.callback else True
        rows.append((enabled, version_str, path_str, release_str))
        self.packages[i] = package
    QtWidgets.QApplication.restoreOverrideCursor()
    self.setRowCount(len(rows))
    first_selectable_row = -1
    for i, row in enumerate(rows):
        enabled, version_str = row[:2]
        row = row[2:]
        item = QtWidgets.QTableWidgetItem(version_str)
        item.setTextAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter)
        self.setVerticalHeaderItem(i, item)
        for j in range(len(row)):
            item = QtWidgets.QTableWidgetItem(row[j])
            if enabled:
                if first_selectable_row == -1:
                    first_selectable_row = i
            else:
                item.setFlags(QtCore.Qt.NoItemFlags)
            self.setItem(i, j, item)
    self.setHorizontalHeaderLabels(["path", "released"])
    self.resizeRowsToContents()
    self.resizeColumnsToContents()
    vh = self.verticalHeader()
    vh.setVisible(True)
    hh = self.horizontalHeader()
    hh.setStretchLastSection(True)
    hh.setVisible(True)
    self.package_name = package_name
    self.setEnabled(True)
    if first_selectable_row != -1:
        self.selectRow(first_selectable_row)